The shooting happened Friday morning near Yosemite Avenue and Cleveland in Madera.
The driver of a Red Honda Civic made it several miles to Madera Community Hospital after he and three passengers were shot at the intersection of Cleveland and Yosemite.
"The victims vehicle was traveling Southbound on Cleveland when an unknown black vehicle, compact pulled up alongside the right side of the vehicle and fired several shots into the victims vehicle, hitting all four passengers," said Johnnie Smith with the Madera Police Department.
For several hours, while crime scene processors collected evidence, incoming patients were diverted to another entrance while detectives looked for clues.
Madera police believe the violence was in retaliation for another homicide earlier this year. Officers say the victims are all adults.
The shooting happened just before 10 a.m. Friday, near an apartment complex and shopping center. Several other cars were in the area at the time.
Officers are hoping to collect additional evidence at the crime scene to solve the case.
"We've canvassed the area for witnesses, video and other evidence, and it's an ongoing investigation at this time," Smith said.
Investigators say one man in the car had critical wounds and was taken to Community Regional Medical Center. So far, police have no suspects and only vague descriptions of them.