Troy Ross saw flashing lights behind the car he was travelling in and knew there would be trouble.
Ross had found out his teenage sister had been killed in a car accident and was heading to his mother's house to be with family as soon as he could.
Having enlisted someone to drive him, the pair sped through Ohio on their way to Detriot when they were stopped by police.
"I knew I was going to jail due to a petty warrant," Ross wrote.
When Trooper J Davis pulled the pair over, he found the driver had a suspended licence and an outstanding warrant as well, according to Inside Edition.
The driver was arrested and the car set to be towed.
Ross explained on Facebook what happened next when Ohio State Highway Patrol Sergeant David Robison arrived:
"I broke down crying and he saw the sincerity in my cry. He REACHES OVER AND BEGAN PRAYING OVER ME AND MY FAMILY. He offered to bring me 100 miles further to Detroit because they towed the vehicle. Everybody knows how much I dislike Cops but I am truly Greatful for this Guy. He gave me hope"
Robison drove Ross more than 100 miles (160 km) to a Detroit coffee shop where he could meet his cousin.
"It was just so overwhelming," Ross told Inside Edition. "They were trying to help us."
Ross said that the sergeant has even promised to attend the funeral.
The Facebook post explaining the good deed has been shared over 133,000 times.