Malmö's Viktor Östlund made a breakthrough but shot Erik Hvenfelt in the head, who fell to the ground.
Several Ystad players reacted strongly and Kim Andersson became really annoyed.
He ran straight to Östlund and it got messy between several players.
Andersson received a red card and also Malmö's Kassem Awad.
But it was not the first time during the match that a goalkeeper got the ball in his head.
During the first half, Malmö's goalkeeper had to go out after a shot in the head and in the final minute, Hvenfelt's substitute Ponuts Encrantz got a shot in the head.
Malmö won the match 20-19 and went up on the same points as Malmö at the top.