Malaga moved into outright fourth on the La Liga ladder with a 2-0 win over 10-man Sevilla on Saturday.
It was Malaga's first win on their travels since the beginning of September and it appeared far from likely as Sevilla dominated the first 45 minutes.
But the hosts failed to make the most of a hatful of opportunities with Alvaro Negredo the chief offender.
Martin Demichelis headed Malaga into the lead after 49 minutes and then Eliseu Pereira sealed the win with a penalty which had also seen the dismissal of defender Federico Fazio for a foul on Joaquin Sanchez.
Malaga is now three points ahead of fifth-placed Betis which faces Celta Vigo on Monday.
Earlier, a controversial Diego Castro penalty gave Getafe a 1-1 draw with 10-man Osasuna.
Despite the second-half dismissal of Emiliano Armenteros, Osasuna went ahead through Kike Sola. But in stoppage time a spot-kick was awarded for a handball by Oier Sanjurjo.
The Osasuna players were livid and replays showed the ball did not touch Sanjurjo's arm. Castro slotted the ball home from 12 yards.
An Aritz Aduriz header after 10 minutes gave Athletic Bilbao a 1-0 win away to Mallorca while Granada and Real Sociedad drew 0-0.
Barcelona, which has 14 wins from 15 games in a record start to the season, can stretch its lead to nine points if it beats second-placed Atletico Madrid, while stuttering Real Madrid takes on bottom side Espanyol.