A cabbie who followed orders to deliver a passenger’s lost cellphone was rewarded with a night in jail and the temporary loss of his job, according to a new lawsuit.

Driver Anthony Rocafort was summoned by his boss Steve Newman of Wailing Management on Dec. 15, 2016, to return the phone to lower Manhattan from Long Island City, Queens.

Newman says in court papers that another driver had turned the phone in at the end of his shift.

He called the last number on the phone’s history to determine who owned it. A man named “Michael” picked up and said the phone belonged to his assistant, according to papers filed in Manhattan Supreme Court.

Newman told Michael he could pick up the phone in Queens, or they could deliver it for a fee, the suit says.

“The individual requested the phone be delivered to 632 Broadway,” Newman recalls in court papers.

“I indicated to Michael that if one of the taxi operators was to deliver the phone he needed to be compensated for his time as he was traveling from Long Island City,” Newman says.

“Michael then offered to pay $80.00 for the delivery of the phone without me requesting an amount,” Newman says.

But when Rocafort arrived at Broadway Houston Street he was suddenly surrounded by cops.

“The driver did as he was told and was subsequently arrested for grand larceny in the fourth degree and extortion based on a complaint made by either the owner of the phone or Michael,” the suit says.

After 12 hours in jail and $2,500 in legal fees the charges were dropped.

But his TLC license was yanked until recently.

“During the suspension period I was unable to earn any income as a taxi driver,” the 57-year-old East Village resident says in court papers.

“Since this tragic event, I have been depressed and highly emotional,” he says.

Now Rocafort is suing the NYPD for Michael’s full name and contact information so he can file a false arrest case.

The city Law Department declined to comment.