Nacho Fernandez scored from a tight angle two minutes after entering the match to help Real Madrid beat Paris Saint-Germain 1-0 and advance to the knockout stage of the Champions League on Tuesday.
PSG had the most chances at the Santiago Bernabeu but Madrid escaped with the victory when Fernandez surprised goalkeeper Kevin Trapp with a soft shot that crossed the goalmouth and spun into the far corner after bouncing near the goal line in the 35th minute.
Fernandez, who had substituted left back Marcelo because of an injury, chased down a loose ball inside the area after a shot blocked by PSG defender Thiago Silva and sent his left-footed shot into the corner without letting the ball hit the ground.
The win gave Madrid 10 points from four matches in Group A, enough for the Spanish side to clinch a spot in the next round with two games left.
PSG remained with seven points. Shakhtar Donetsk, which defeated Malmo 4-0 in Ukraine, reached three points, the same as the Swedish club.
“They had a lot of possession and they also caused us problems on the counter,” Madrid defender Sergio Ramos said. “Today we got three very important points, but we have to keep on improving.”
The teams were coming off a scoreless draw in France last month, when it was Madrid which played better and was closer to victory.
This time PSG created most of the dangerous scoring opportunities. Adrien Rabiot hit the post in the 37th, Edinson Cavani had a shot cleared at the goal line in first-half injury time and Angel Di Maria, returning to the Bernabeu to face his former club, had a clear chance in the 48th and also struck the crossbar with a free kick in the 89th.
Zlatan Ibrahimovic nearly scored in the 22nd with low shot that missed wide with Madrid goalkeeper Keylor Navas already beaten, and the Swedish striker also came close with a 29th-minute free kick shot that almost hit the post.
Cristiano Ronaldo had another quiet night. His lone chance was a 26th-minute free kick that was easily saved by Trapp.
The high-profile match at the Bernabeu pitted two of the best teams in Europe this season against each other. Both clubs were undefeated this season going into the game and had yet to concede a goal in the Champions League.
PSG, eliminated in the tournament’s quarterfinals the last three seasons, hasn’t won in Spain since the 2012-13 season, when it defeated Valencia 2-1.
Real Madrid had a few important players returning from injury, including defender Ramos. Colombian playmaker James Rodriguez was on the bench, but coach Rafa Benitez still couldn’t count on strikers Gareth Bale and Karim Benzema.
Paris Saint-Germain was boosted by the return of defender David Luiz, who had been nursing a knee injury, but Laurent Blanc remained without defender Marquinhos and midfielder Javier Pastore, and he also lost midfielder Marco Verratti because of an injury just 15 minutes into Tuesday’s match.