Ilkay Gundogan's stoppage-time penalty earned Barcelona a 2-1 comeback win at 10-man Las Palmas in an ill-tempered La Liga match on Thursday.
Las Palmas opened the scoring in the 12th minute when former Barcelona midfielder Sandro Ramirez set up Munir El Haddadi to fire home from close range and the hosts dominated the first half.
Barca struck back 10 minutes after the break following a defensive error that allowed Sergi Roberto to find Ferran Torres who beat Las Palmas keeper Alvaro Valles with a scruffy finish.
Las Palmas defender Daley Sinkgraven was shown the red card after a push on Gundogan in added time and the former Manchester City midfielder converted his spot-kick.
Barca moved third in the La Liga standings on 41 points, seven behind leaders Real Madrid and Girona.