Justin Bieber has said his prayers were with the family of a photographer who was struck and killed while trying to take pictures of the pop star's Ferrari sports car in Los Angeles.

Justin was not in the car at the time. The name of the 29-year-old photographer, who was pronounced dead at a hospital shortly after the accident on Tuesday, was not released.

"Hopefully this tragedy will finally inspire meaningful legislation and whatever other necessary steps to protect the lives and safety of celebrities, police officers, innocent public bystanders, and the photographers themselves," Justin said in a statement released by Island Def Jam Music Group.

A friend of the Canadian pop star was behind the wheel of the Ferrari when a California Highway Patrol officer pulled it over for speeding, authorities said.

The photographer stood on a freeway railing to shoot snaps of the traffic stop, and he was struck when he ran across the street to his own car, authorities said.

The driver of the car that hit the photographer, a 69-year-old Los Angeles woman, was not believed to be at fault for the accident and was unlikely to be cited, police said.

A 2010 California law toughened up punishments for those who drive dangerously in pursuit of photos for commercial gain.

The law was prompted by the experiences of Jennifer Aniston, who told a lawmaker about being unable to drive away after she was surrounded by paparazzi on the Pacific Coast Highway.