DETROIT -- Matthew Stafford scrambled to his left and threw on the run toward the back of the end zone - hardly an ideal scenario on third down in the final minute.
"I just love that feeling. It's a good feeling for a quarterback to have the ball in his hands at the end of the game," Stafford said. "By no means are we playing perfect, but we're finding ways to win games."
Calvin Johnson had seven catches for 113 yards and a touchdown in his first game back from an ankle injury, and the Lions (7-2) remained atop the NFC North. Detroit equaled its best record since 1954, when the Lions won eight of their first nine games. They have started 7-2 only four times since, according to STATS, most recently in 1993 when they finished 10-6.
The Dolphins (5-4) scored a touchdown in the third quarter after they blocked a Detroit field goal attempt and returned it deep into Lions territory. Miami's Ryan Tannehill threw for 215 yards, but it was Stafford who made the final big play, snapping a pass to a sliding Riddick in the back left corner of the end zone.
The Dolphins lost in the final minute for the second time in a month. Green Bay scored a touchdown with 3 seconds left to beat them.
Miami took a 16-13 lead with 4:19 remaining on a 20-yard field goal by Caleb Sturgis. It was the second time the Dolphins settled for three points near the Detroit goal line. The Lions had to punt, but they forced Miami to do the same, and Stafford still had 3:13 left when Detroit took over on its 26.
Finally, on third down from the 11, Stafford threw to Riddick, the 5-foot-9 running back who slipped behind Reshad Jones in the end zone.
"We've been in that situation so many times," said Johnson, who played for the first time since Oct. 5. "We have a core group of guys that have been on the team over the last four years. We've been in those situations time in, time out where we come back and win."
It was the second blocked field goal of the season for Miami, which has also blocked two punts.
Prater made a 50-yard kick early in the fourth quarter, but the Lions are still only 11 of 22 on field goals this season. They won their previous game over Atlanta on Prater's last-second kick in London - but that came after a miss was negated by a delay of game on Detroit.
The Lions out gained Miami 121-1 in building their early lead. Then the game quickly turned into the type of low-scoring struggle expected between the top-ranked defense in each conference. Detroit's early touchdown came when Stafford found Johnson deep over the middle in single coverage. With a 7-inch height advantage over Grimes, Johnson hauled in the pass in for a 49-yard score while Grimes tumbled to the ground behind him.
Detroit had a great chance to add to the lead in the second quarter after James Ihedigbo intercepted Tannehill and returned it deep into Miami territory. But a facemask penalty pushed the ball back to the Miami 31, and on the next play, Stafford threw toward Johnson. Grimes made a spectacular interception, reaching up with his right hand and pulling the ball in as he fell backward into the end zone.
Copyright 2014 by The Associated Press