Follow CBSMIAMI.COM: Facebook | Twitter

MIAMI (CBSMiami/SportsDirect) – It was an exciting weekend of baseball for fans of the Miami Marlins.

READ MORE: Man Held Without Bond In Killing Of Baby, Babysitter In Coral Springs

Third baseman Martin Prado had his second walk-off RBI in three days as the Marlins beat the NL East-leading New York Mets 4-3 on Sunday afternoon at Marlins Park.

With one out and the bases loaded in the ninth inning, Prado lined a sacrifice fly to left against Mets reliever Tyler Clippard. Prado fouled off eight pitches before lining his shot on Clippard’s 12th pitch of the at-bat.

Mets left fielder Yoenis Cespedes made a leaping grab in left but his throw home could not beat pinch-runner J.T. Realmuto.

Justin Bour tied the score with a pinch-hit solo homer — also against Clippard — with two outs in the eighth. It was his 16th homer of the season and the first of his career as a pinch-hitter.

New York (75-61) will now visit the second-place Washington Nationals for three games Monday through Wednesday.

The Marlins, who have won five of their past six games, are way out of contention at 57-80 but still did damage to the Mets.

New York left-hander Steven Matz, who hadn’t pitched in the majors since July 5 due to a muscle tear on his left side, allowed four hits, two walks and two runs in 5 1/3 innings. He threw 81 pitches.

READ MORE: Report: South Florida Counties Have High COVID Levels, Despite CDC Numbers

However, he left with a blister on the middle finger of his left hand.

Marlins right-hander Jarred Cosart, who hadn’t pitched in the majors since July 4 due to an inner-ear disorder that caused dizziness and nausea, got a no-decision. He lasted 4 2/3 innings and allowed five hits, one walk and one run. He threw 88 pitches.

New York started quickly. Cespedes, the game’s second batter, drilled a solo homer to left-center. It was his fourth homer in the past five games and his 30th of the season.

Miami tied the score in the bottom of the first. Second baseman Dee Gordon drew a leadoff walk, stole second, went to third on a fly out and scored on a single to left by right fielder Marcell Ozuna. Gordon has 48 steals on the season.

The Marlins took a 2-1 in the fifth when catcher Jeff Mathis homered to left. It was the first homer of the season for Mathis, who entered the game hitting .123.

Second baseman Wilmer Flores hit a two-run homer with one out in the sixth inning to give New York a 3-2 lead. Flores hit a 3-1 pitch from reliever Chris Narveson to left for his 16th homer of the season.

Bour tied the score with Miami’s first pinch-hit homer of the year, and that set the stage for Prado.

NOTES: The Mets rested 3B David Wright and C Travis d’Arnaud. The Mets used d’Arnaud as a pinch hitter in the ninth. … Mets OF/1B Michael Cuddyer (wrist) and INF Daniel Murphy (quadriceps) missed their third straight starts. Murphy was used as a pinch hitter in the seventh inning on Sunday and is expected to return to the lineup Monday at Washington. Cuddyer, who received a cortisone injection, is likely out until at least Tuesday. … Mets 1B Lucas Duda (back) could return Tuesday. … Marlins RF Giancarlo Stanton (fractured left wrist) said Sunday he may not return this season. When he got hurt on June 26, it was reported that he would miss only 4-6 weeks. … Marlins SS Adeiny Hechavarria (hamstring) missed his third straight game. … With Mets LHP Steven Matz on the mound, Miami rested lefty hitters and normal starters Justin Bour (1B) and Derek Dietrich (LF). … Marlins RHP Carter Capps (elbow) still feels discomfort and is not ready to return.

MORE NEWS: COVID-19 Testing Site Finder

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)