Leaders Barcelona suffered only their third La Liga defeat of the season as Rayo Vallecano secured a memorable win.
Goals by Alvaro Garcia and Fran Garcia put the mid-table hosts in a commanding position before Robert Lewandowski scored a late consolation.
Barca remain on course to win a first La Liga title since 2018-19, 11 points clear of nearest rivals Real Madrid with eight matches left.
They host fifth-placed Real Betis on Saturday (kick-off 20:00 BST).
Garcia put Vallecano ahead after firing across Marc-Andre ter Stegen before Garcia doubled the lead.
Lewandowski pulled one back after Franck Kessie's shot was blocked, his 18th La Liga goal of the season.
It was Barcelona's first defeat in La Liga since 26 February, while they have won just one of their past four league games.
Latest Stories
-
Haaland scores as Manchester City beat Nottingham Forest
12 mins -
Villas-Boas elected Porto president
17 mins -
Situation on frontline has worsened, Ukraine army chief says
24 mins -
US doctor describes witnessing starvation in northern Gaza
29 mins -
CAFCC: RS Berkane make final after USM Alger refused to play 2nd leg over Moroccans’ jersey
30 mins -
Elon Musk in China to discuss enabling full self driving
38 mins -
PSG clinch Ligue 1 title after Lyon’s win over Monaco
3 hours -
Guinness Ghana sets the pace at Ghana Beverage Awards with six awards
3 hours -
Burkina Faso suspends BBC, VOA radio broadcasts over killings coverage
3 hours -
Nicole Kidman honoured with AFI Life Achievement Award
3 hours -
Brassier scores winner for Brest as they edge Rennes to secure European football
4 hours -
Akufo-Addo jabs Ejisu independent candidate; rubbishes allegations to rig by-election
4 hours -
‘What are the real causes of the erratic power outages?’ GUTA asks ECG
4 hours -
Implementing ESG framework in Ghana’s energy sector for sustainability
5 hours -
CAFCC: Dreams FC exit competition after 0-3 defeat in Kumasi
5 hours