A yellow cab driver jumped out of his car to chase down a fare who had just swiped his backpack Sunday night in the Bronx — and was accidentally killed by his own ride, cops and police sources said.

Mohammad Zafrullah had just dropped off a passenger on Seward and Rosedale avenues around 11:45 a.m. and was preparing to pull out when the fare walked around to the front, passenger-side window, reached in and grabbed the driver’s bag, sources said.

The 65-year-old father of two got out of his car to chase down the thief — but didn’t put it in park, according to sources.

As Zafrullah was moving behind the vehicle, it rolled backward, slamming the driver to the ground before continuing into a parked car, sources said.

First responders rushed to the scene to find Zafrullah lying unresponsive in the middle of the street.

The Brooklyn resident was rushed to Jacobi Medical Center, where he succumbed to his injuries just after 7:35 a.m. Monday morning.

“It’s just shocking,” said Mansura, Zafrullah’s niece and next-door neighbor in Canarsie. “You don’t expect to hear these kinds of news.”

Mansura, who declined to give her last name, added that she had the burden of calling Zafrullah’s son in California to break the news to him.

“I’m hearing the news from my family,” the son, Tawsique Salam, told The Post by phone as he boarded a flight to New York. “I haven’t even seen the police report yet.”

Both mourning relatives declined to speak further as they processed the tragedy and tended to Zafrullah’s affairs.

The thief remained at large Monday afternoon as cops scoured the area for clues, having already found grisly surveillance video of the freak death.

It wasn’t immediately clear whether the sticky-fingered fare would face charges beyond the bag-snatching.