David Banks-USA TODAY Sports

Willson Contreras enjoyed an unexpected return to Wrigley Field on Friday afternoon by hitting a go-ahead two-run homer with one out in the eighth inning as the Chicago Cubs rallied for a 2-1 victory over the visiting Miami Marlins.

Contreras heard a loud ovation from fans after going 5-for-26 on Chicago's seven-game road trip that included Tuesday's trade deadline. Instead of being dealt, Contreras remained a Cub and homered for the first time at home since June 29 against Cincinnati.

Contreras gave the Cubs the lead when he lifted a 0-1 low changeup off Dylan Floro (0-1) and sent the ball about halfway up the left-center field bleachers.

Contreras'16th homer helped Chicago end a five-game losing streak and get its fourth straight home win, a stretch that includes the pending free agent's emotional reaction to the fans on July 26 against Pittsburgh.

It also was one of four hits for the Cubs, who were held hitless for five innings by Miami's Edward Cabrera in his return from missing nearly two months with an elbow injury.

Rowan Wick (3-5) got the final out of the eighth and then tossed a 1-2-3 ninth.

Joey Wendle hit an RBI single with one out in the seventh for the Marlins, who are 5-13 since getting within two games under .500 on July 14. It was the 14th time in this stretch Miami was held to three runs or less.

Cabrera allowed four baserunners. Cabrera also struck out eight and did not allow multiple baserunners in his final four innings.

Cabrera walked two in the first before retiring Ian Happ on a double-play liner, retired the side in the second and third before stranding Happ in the fourth. Cabrera entered the fifth at 67 pitches and needed 11 pitches to finish his outing by retiring rookie Christopher Morel.

It was the third time in four starts this season Cabrera allowed two hits or fewer. He pitched for the first time since June 12 when he allowed five runs in 3 2/3 innings at Houston and was placed on the injured list three days later.

Chicago's Justin Steele allowed four hits and tied a career high with 10 strikeouts.

More must-reads:

TODAY'S BEST
Insider: Sixers 'a threat' to sign LeBron James in free agency
Clippers reportedly interested in bring back former team star
Josef Newgarden wins Indianapolis 500 with a thrilling last-lap pass
Route 66: Star guards score 33 each as Mavericks take 3-0 WCF lead
Unlikely hero helps Rangers steal Game 3 over Panthers
Braves superstar will miss remainder of 2024 season with torn ACL
Naomi Osaka finishes strong, wins first-round match at French Open
Grayson Murray's parents release heartbreaking statement on cause of death
Watch: Matt Vierling's walk-off HR caps wild game in Detroit
NFL reporter reveals why CeeDee Lamb isn't rushing to sign new contract
Celtics are being vindicated for acquiring Jrue Holiday
Christopher Bell wins abbreviated Coca-Cola 600, Kyle Larson's double attempt foiled by rain
Southampton earns Premier League promotion in world's richest game
Astros RHP day-to-day with forearm discomfort
Mavericks rookie takes brutal knee to the head in Game 3
White Sox manager absolutely shreds team after latest loss
Angels slugger suffers what might be baseball's most bizarre injury of 2024 season
Watch: Unlikely Rangers playoff hero nets two goals vs. Panthers
Celtics put Kristaps Porzingis' return from injury on hold
Watch: Panthers' Sam Reinhart nets two goals in first period vs. Rangers