New York Mets reliever Hansel Robles has been suspended for three games for throwing near the head of a batter after both teams had been warned.

Major League Baseball announced the suspension and an unspecified fine Thursday, a day after Robles and manager Terry Collins were ejected in the sixth inning of a 7-5 loss to the Philadelphia Phillies.

In the third, Mets slugger Yoenis Cespedes left the game with bruises on two fingers of his left hand after he was hit by a pitch.

More from FoxSports

Cespedes' replacement, Kirk Nieuwenhuis, later was hit. After that, Odubel Herrera of the Phillies was plunked in the back. Then both teams were warned.

Robles called his pitch to Cameron Rupp "a fastball that got away." Collins said that "you can't miss that bad up around the head."

Unless it is appealed, Robles' suspension will start Friday at home against the Washington Nationals. The right-hander is 4-3 with a 3.57 ERA in 56 appearances this season.