SAN DIEGO (AP) -- Tom Koehler threw seven strong innings, combining with two relievers on a three-hitter that lifted the Miami Marlins to a 4-0 win over the San Diego Padres on Thursday night.

Koehler (8-6) walked four and hit a batter, but the right-hander limited the Padres to three singles and successfully worked out of the only jam he faced. Koehler, Steve Cishek and Mike Dunn handed San Diego its major league-high 14th shutout.

Miami won its third straight on the road for the first time this season. The Marlins used five consecutive singles with two outs, along with a wild pitch and two errors on the same play, to score four runs in the sixth inning to break a scoreless tie.

More from FoxSports

Tyson Ross (6-8) was dominant early before he faltered in the sixth. Ross allowed four runs - three earned - and eight hits over 5 2/3 innings with eight strikeouts.

Koehler was the recipient of two outstanding defensive plays. Left fielder Christin Yelich made a sliding catch in foul territory down the left-field line in the third, and third baseman Casey McGehee caught a foul popup right near the stands as he was falling down to end a bases-loaded jam in the fifth.

San Diego loaded the bases with one out in the fifth before Koehler got Ross to ground into a force play at the plate. McGehee followed with his catch on Abraham Almonte's foul popup.

Martin Prado got the Marlins started in the sixth with a two-out single and went to third on a single by Yelich. Ross then threw a wild pitch to Justin Bour, allowing Prado to score and Yelich to take second.

Bour lined an RBI single to left for a 2-0 lead and took second on McGehee's single before he scored on J.T. Realmuto's single. When Realmuto stole second base one batter later, a throwing error by catcher Austin Hedges allowed McGehee to score.

TRAINER'S ROOM

Marlins: RF Giancarlo Stanton (left wrist fracture) continues to swing a bat, but has not faced pitching yet. ... 2B Dee Gordon (dislocated left thumb) is expected to take batting practice this weekend at the team's training camp facility at Jupiter, Florida. ... RHP Henderson Alvarez (right shoulder inflammation) suffered a setback after his last rehab start and will be re-examined.

Padres: LF Justin Upton (strained side muscle) was out of the starting lineup for the fourth straight game, but he did pinch hit in the ninth inning and struck out swinging to end the game. ... RHP Brandon Morrow (right shoulder inflammation) will throw a rehab start for Triple-A El Paso on Saturday. ... OF Wil Myers (left wrist tendinitis) will be examined Friday and if it goes well, he will likely to start swinging a light bat.

UP NEXT

Marlins: It could be the final start for RHP Dan Haren (7-5, 3.46 ERA), the subject of much trade discussion leading up to next Friday's trade deadline.

Padres: RHP Andrew Cashner (3-10, 4.10) has struggled for much of the season. Since May 27, Cashner has won once in eight starts.