The Marlins extended their winning streak to four games after taking down the Red Sox 6-2 in Boston.
Braxton Garrett was credited with the victory after allowing one run on three hits over five innings pitched.
AJ Puk secured his 12th save of the season after pitching two-thirds of a scoreless ninth inning.
Garrett Cooper and Jazz Chisholm Jr. each went deep.
Miami is second in the NL East at 47-and-34. Nick Pivetta was tagged with the loss after allowing two runs over three and a third innings of relief.
Rafael Devers slugged a solo shot for his 19th homer of the year.
Boston is last in the AL East at 40-and-41.
(Photo by Paul Rutherford/Getty Images)