However, despite only having De Gea to beat, the forward inexplicably lashed his effort wide of the target.
Edinson Cavani went close in the 79th minute, with Mason Greenwood sending in a wonderful ball from the right.
Player ratings Man Utd: De Gea 8 , Dalot 5 , Lindelof 6 , Varane 7 , Telles 7 , McTominay 6 , Pogba 7 , Fernandes 7 , Sancho 6 , Greenwood 7 , Ronaldo 7.
This game is massive for both sides as the winner will book their place in the knockouts while the losing team will have to rely on other results in the last group game for qualification.
And that proved to be a very smart decision by Carrick, with Sancho dropping easily his finest performance in a United shirt to date out in Spain.
But that's football, it's just highs and lows and today we get a result that we're delighted about.