DETROIT — David Ortiz cracked a two-run home run in the fifth inning to reach 1,500 RBIs with the Red Sox and had a single that set up a third-inning run to lead Boston to a rain-prolonged 3-2 victory Saturday night over the fading Detroit Tigers.

J.D. Martinez hit reliever Heath Hembree’s first pitch to him with one out in the seventh onto the walkway between the two seating sections in left center to bring Detroit within 3-2. It was his 18th home run this year.

Ortiz hit a hanging inside 0-1 curve into the right-field seats off Daniel Norris (1-2) following a leadoff double by Xander Bogaerts. It was his 29th home run this season and he has 97 RBIs.

Ortiz now has 23 home runs at Comerica Park, tops by a visiting player, in just 58 games. Central Division opponents play at least four times as many games in Detroit a season as Boston.

Ortiz is closing in on his 10th season of 30 home runs with 100 RBIs with Boston, which would make him just the fifth player ever to do so at least 10 times for the same team.

James McCann had tied the score at 1-1 for Detroit with a solo home run, his 10th, leading off the third inning against Drew Pomeranz (10-9 overall, 2-2 with Boston).

Both starters departed when play resumed in the sixth after a rain delay.

Brad Ziegler took over for Hembree after J.D. Martinez’s home run. Matt Barnes got two outs in the eighth but Craig Kimbrel was brought in for a four-out save when Miguel Cabrera came up with two on and two out. Cabrera lined out to left and Kimbrel got his 22nd save with a scoreless ninth.

The Tigers have now lost 10 of their last 13 games to fall seven games behind first-place Cleveland in the American League Central. Detroit has scored 19 runs in those 10 defeats.

Boston remained a half-game behind Toronto in the AL East.

The Red Sox broke a scoreless tie in the top of the third with consecutive singles by Dustin Pedroia, Bogaerts and Ortiz loading the bases. The run came in when Mookie Betts grounded into a double play.

Ortiz also singled in the first on a night when the Tigers honored him with a framed picture of his appearance in the 2005 All-Star game in Detroit.

The game was delayed by rain for one-hour, 20-minutes at the start and again for one-hour, 11-minutes just as the sixth inning was about to begin.

NOTES: Rookie Michael Fulmer of Detroit reappeared on the leaders’ statistics after Friday’s start and his 2.58 ERA topped the league. He could be the first rookie ERA leader since Tigers RHP Mark Fidrych in 1976. … RHP Steven Wright (shoulder) throws a bullpen Sunday to see if he will be able to come off the disabled list and start on Tuesday. Wright said he won’t be able to; manager John Farrell said that hasn’t been determined. … Dartmouth-educated Tigers manager Brad Ausmus said Saturday he can’t remember what his rotation looks like for next week, even though he wrote it down. … Farrell visited a Michigan football practice hosted by Coach Jim Harbaugh. “Obviously a very successful guy,” the Red Sox skipper said. “Very passionate. That comes across very clear.”