Match ends, Real Madrid 1, Paris Saint-Germain 0.
Real Madrid sealed their place in the Champions League last 16 with a narrow home victory over Paris St-Germain.
Nacho Fernandez scored just two minutes after coming on to replace the injured Marcelo but PSG had their chances.
Adrien Rabiot struck a post, Edinson Cavani had a shot cleared off the line and Angel Di Maria hit the bar with an 89th-minute free-kick as Real hung on.
The win sees Rafael Benitez's side move seven points clear of third-placed Shakhtar Donetsk with two games left.
The Ukrainians defeated Malmo 4-0 in Group A's other match to move level on points with the Swedish side.
Second-placed PSG trail leaders Madrid by three points, and can seal their place in the next round with victory at Malmo on 25 November - a match that will see striker Zlatan Ibrahimovic return to his first club.
"It was not comfortable for us at all," said Madrid defender Sergio Ramos.
"We played a lot better away in Paris where we could only draw. It was a difficult game and it has given us a lot to think about."
Elsewhere, Benfica's 2-1 win at home to Galatasaray of Turkey saw them go top of Group C after second-placed Atletico Madrid drew 0-0 against Astana in Kazakhstan.
Portuguese champions Benfica had been pegged back to 1-1 by Lukas Podolski's strike before captain Luisao sealed the win.
- 1NavasBooked at 90mins
- 12MarceloSubstituted forNachoat 33'minutes
- 14CasemiroBooked at 88mins
- 22IscoSubstituted forKovacicat 82'minutes
- 7Cristiano Ronaldo
- 20Rodríguez RuizSubstituted forVázquezat 63'minutes
- 19AurierBooked at 45mins
- 2Thiago Silva
- 32David LuizBooked at 67mins
- 17Cabelino Andrade
- 6VerrattiSubstituted forRabiotat 17'minutes
- 14MatuidiSubstituted forLucas Mouraat 75'minutes
- 11Di María
- 7Lucas Moura
- 23Van der Wiel
- Mark Clattenburg
- Shots on Target
Second Half ends, Real Madrid 1, Paris Saint-Germain 0.
Attempt blocked. David Luiz (Paris Saint-Germain) right footed shot from outside the box is blocked. Assisted by Adrien Rabiot.
Keylor Navas (Real Madrid) is shown the yellow card.
Attempt missed. Zlatan Ibrahimovic (Paris Saint-Germain) header from the left side of the box misses to the right. Assisted by Lucas Moura with a cross.
Ángel Di María (Paris Saint-Germain) hits the bar with a left footed shot from outside the box from a direct free kick.
Casemiro (Real Madrid) is shown the yellow card for a bad foul.
Lucas Moura (Paris Saint-Germain) wins a free kick in the attacking half.
Foul by Casemiro (Real Madrid).
Serge Aurier (Paris Saint-Germain) wins a free kick in the defensive half.
Foul by Cristiano Ronaldo (Real Madrid).
Foul by Lucas Moura (Paris Saint-Germain).
Casemiro (Real Madrid) wins a free kick in the defensive half.
Substitution, Real Madrid. Mateo Kovacic replaces Isco.
Attempt missed. Nacho (Real Madrid) header from the centre of the box misses to the left. Assisted by Casemiro with a cross.
Attempt saved. Toni Kroos (Real Madrid) right footed shot from the right side of the box is saved in the top centre of the goal. Assisted by Nacho.
Corner, Real Madrid. Conceded by David Luiz.
Attempt blocked. Adrien Rabiot (Paris Saint-Germain) left footed shot from outside the box is blocked. Assisted by Thiago Silva.
Corner, Paris Saint-Germain. Conceded by Sergio Ramos.
Offside, Paris Saint-Germain. David Luiz tries a through ball, but Zlatan Ibrahimovic is caught offside.