Pablo Sarabia scored one and assisted another as Sevilla held on to beat Las Palmas despite a controversial end to the match.
The Rojiblancos appeared to be coasting to three points after goals by Wissam Ben Yedder and Sarabia put them two goals clear.
However, after Jonathan Calleri pulled a goal back from the penalty spot, defender Alejandro Galvez appeared to have earned Las Palmas an unlikely point in the dying moments – only for his finish beyond Sergio Rico to be incorrectly disallowed for offside.
It should have been far more comfortable for Sevilla, who took the lead towards the end of the first half.
Ben Yedder tapped in the rebound after Sarabia’s effort was well saved by home keeper Leandro Chichizola.
The in-form Sarabia doubled Vincenzo Montella’s side’s lead soon after the restart, side-footing a volley home from close range.
The score remained at 2-0 until the final 10 minutes, when Alen Halilovic was adjudged to have been fouled in the Sevilla box by defender Miguel Layun.
Calleri stepped up and rolled his penalty straight down the middle to set up a grandstand finish.
Las Palmas threw men forward in search of an equaliser and thought they had salvaged a draw in the final moments of injury time, but Sevilla were handed a reprieve after the offside flag wrongly went up against Galvez.
Victory is Sevilla’s third in succession in all competitions and moves them to within three points of fourth-placed Real Madrid – although Los Blancos have two games in hand.
Las Palmas remain marooned in the relegation zone, two points shy of safety.