Real Madrid moved to within three points of La Liga leaders Barcelona and Atletico Madrid with a hard-fought 1-0 win over Espanyol on Sunday.
Portuguese defender Pepe got the only goal of the game when he rose highest to head home Luka Modric's free-kick 10 minutes after half-time.
Cristiano Ronaldo should then have added to his side's lead on a number of occasions.
But despite their star man having an off night in front of goal, Madrid comfortably held on for the three points as Espanyol created nothing of note after falling behind.
Espanyol had started on the front foot and should have been in front after just three minutes when Cristian Stuani skewed his header wide when unmarked just six yards out.
Thereafter, though, Madrid had the better of the chances in the first-half without ever completely dominating the game.
Ronaldo uncharacteristically fluffed his lines after Karim Benzema's fine solo run down the left had freed the Portuguese inside the area.
Espanyol keeper Kiko Casilla also had to beat away Angel di Maria's long-range drive and a free-kick from Ronaldo.
However, the visitors best chances of the first 45 minutes came just before the break when Modric led a counter-attack, but after feeding Di Maria the Argentine failed to pick out one of four available teammates. The ball eventually fell to Gareth Bale and his cross was headed just wide by Benzema.
Madrid did make the breakthrough 10 minutes into the second-half as Modric's free-kick towards the back post was powerfully headed low into the farcorner by the unmarked Pepe.
Bale was starting a league game for the first time in nearly a month and his looked short of match sharpness as he contributed little before being replaced by Jese Rodriguez 15 minutes from time.
Casilla produced a stunning one hand save to prevent Ronaldo once more as he bore down on goal and Ronaldo then somehow fired wide with Casilla prone on the floor having parried Benzema's initial effort.
Getafe 0 Rayo Vallecano 1 (Bueno 29)
Real Betis 1 (Molina 80) Osasuna 2
(Torres 2, Figueras 57-og)
Espanyol 0 Real Madrid 1 (Pepe 55)