Updated

Juan Rivera hit a two-run homer and Hanley Ramirez drove in a pair of runs against his former team, as the Los Angeles Dodgers topped the Miami Marlins, 5-2, on Friday night.

Ramirez finished with three hits and scored a run in his first game at Marlins Park since being dealt to the Dodgers on July 26.

"I still love them," Ramirez said of the Marlins fans, some of whom were booing the former batting champ. "There's a lot of love for them, and I think there was a lot of support those seven years down here."

Matt Kemp had two hits, including an RBI double, and Shane Victorino doubled and scored a run for the Dodgers, who have won five of their last seven games.

Clayton Kershaw (10-6) earned the win after allowing two runs on three hits while striking out seven over 6 1/3 innings.

Kenley Jansen put two on in the ninth but was able to work out of the jam to pick up his 23rd save.

Justin Ruggiano hit a solo homer and Carlos Lee drove in a run for the Marlins, losers in six of nine.

Mark Buehrle (9-11) gave up four runs on seven hits over six innings to absorb the loss. Buehrle hasn't won since July 14 and has dropped his last three decisions overall.

Ruggiano's one-out homer in the first inning put Miami ahead 1-0.

The Dodgers finally got on the board in the sixth when Victorino doubled to open the frame, moved to third on a Mark Ellis sacrifice bunt, then scored when Kemp doubled. Ramirez followed with a single to plate Kemp before Rivera crushed a two-run homer to give the visitors a 4-1 lead.

"The pitch to Rivera is the one I'd like to have back," Buehrle said.

Miami had the bases loaded with no outs in the home half but were only able to get one run.

After Ruggiano grounded out to third, Lee's sacrifice fly to center brought home Gorkys Hernandez.

With two outs, Giancarlo Stanton sent a towering fly ball to deep left, but it died on the warning track and was caught by Victorino to end the threat.

Los Angeles added another run in the seventh to go up 5-2. A.J. Ellis and Kershaw singled to put runners on first and second with no outs. Mark Ellis grounded out to first to advance the runners and Ramirez cued an infield single in front of the plate to score A.J. Ellis. Marlins catcher John Buck and pitcher Ryan Webb charged to field the ball but no one covered home and Ellis scored easily.

Game Notes

Kershaw has registered 10 or more wins three seasons in a row...It was the Dodgers first game at Marlins Park...Marlins short stop Jose Reyes, who had his 26-game hitting streak snapped on Thursday, did not play...Lee had a 14- game hitting streak snapped.