Eden Hazard scored his first goal for Real Madrid as they went four points clear at the top of La Liga with a 4-2 win over second-placed Granada.
Hazard scored on the stroke of half-time to double Madrid's lead after Karim Benzema had opened the scoring after just two minutes.
Luka Modric then extended the advantage with an effort from outside the box as the hosts looked destined for a comfortable afternoon at the Bernabeu.
However, Granada, this season's surprise package in La Liga, pulled two goals back to set up a nervy finish to the match.
Madrid goalkeeper Alphonse Areola, in the team due to Thibaut Courtois being ill, dawdled over a back-pass and bundled over Alvaro Vadillo, with Darwin Machis making no mistake with the resulting penalty. Domingos Duarte then netted at the far post with 13 minutes remaining.
Grenada were unable to get on level terms and James Rodriguez scored in stoppage-time as Zinedine Zidane's team continued their unbeaten start in the league.
Leganes stay bottom of the table after losing 2-1 at home to Levante, who scored either side of half time through a Roger penalty and a Jose Gomez Campana strike.
Martin Braithwaite halved the deficit 14 minutes from time but Leganes remain without a win this season.
Valencia extended their unbeaten run to four league matches with a 2-1 success against Alaves at the Mestalla Stadium.
Maxi Gomez gave the hosts the half-time lead before Daniel Parejo added a second goal from the penalty spot after 83 minutes.
Lucas Perez replied in the final minute for Alaves, who have taken just one point from their four away games so far this campaign.
Osasuna recorded their first win since the opening day of the campaign as they came from behind to beat Villarreal 2-1 in Saturday's late kick-off.
Pau Torres put the visitors in front early on but second-half goals from Facundo Roncaglia and Ezequiel Avila completed the turnaround.