Updated

Brad Hand pitched three-hit ball into the eighth inning and Jeff Mathis hit a two-run double for the Miami Marlins in their 2-0 victory over the Houston Astros on Friday night.

Hand (2-2) struck out four and walked two in a career-high 7 1-3 innings to earn his second straight win. Donovan Solano and Giancarlo Stanton each had two hits for the Marlins, who won their fifth in sixth games.

Miami was able to get to Dallas Keuchel (9-7) in the seventh.

Jarrod Saltalamacchia reached on an error by center fielder Enrique Hernandez. Adeiny Hechavarria hit an infield single with two outs before Mathis drove in both runners with a double.

Bryan Morris got two outs in the eighth, and Steve Cishek pitched a perfect ninth for his 25th save.

Hand cruised through the first five innings, allowing just two baserunners, and retired seven of his first eight batters. Chris Carter reached on a walk in the first and Gregorio Petit singled with one out in the third.

Hand continued a string of solid starts since transitioning from the bullpen to a starter at the beginning of July. He has allowed three runs or less in each of his five starts.

Keuchel, who has given up four runs or more in each of his last five starts, allowed two runs — none earned — and nine hits with seven strikeouts in seven innings.

The left-hander retired nine of the first 10 batters he faced but ran into trouble in the fifth and sixth, allowing the first two batters to reach in both innings. Houston's defense helped him out both times, turning double plays in each inning.

Houston, which has lost three straight to fall a season-high 19 games under .500, did not get a runner past second base. Carter reached second in the first, and Jason Castro doubled in the eighth to chase Hand.

NOTES: Miami recalled catcher J.T. Realmuto from Double-A Jacksonville and optioned right-hander Anthony DeSclafani to Triple-A New Orleans. ... Houston selected the contract of Petit, an infielder, from Triple-A Oklahoma City. He started at shortstop. The Astros optioned right-hander Anthony Bass to Oklahoma City after Thursday's game. ... Houston also transferred right-hander Matt Albers to the 60-day disabled list. ... Miami challenged the original safe call on Jose Altuve's attempted stolen base in the sixth. After review, the call was overturned and Altuve was out.