Alan Shearer and Ian Wright disagreed over the decision to give Manchester United the free-kick which Bruno Fernandes scored the winner against Liverpool from.

Fernandes came off the substitutes’ bench to score the vital goal in United 's 3-2 victory over Liverpool in the fourth round of the FA Cup.

The Portuguese midfielder’s strike from just outside the penalty area in the 78th minute settled a seesawing contest at Old Trafford which had seen Mason Greenwood and Marcus Rashford cancel out a brace from Mohamed Salah.

Fernandes fooled Liverpool goalkeeper Alisson into thinking he would attempt to curl the ball over the wall before powering in a dipping strike into the bottom corner on the opposite side.

However, the awarding of the free-kick itself was a contentious issue, with referee Craig Pawson believing that Fabinho had fouled Edinson Cavani just outside the 18-yard box.

The Uruguayan received the ball with his back to goal and went to ground when the Liverpool defender tried to win back possession.

It was a tight decision for Pawson and former Newcastle striker Shearer praised Cavani for winning the free-kick through his body position.

“The defender comes through the back of Cavani, who uses all his experience and he uses his body well,” he said on the BBC’s coverage of the match.

“He gets his body in front of the ball. It’s a wonderful strike, but one the keeper should save because it’s his side.”

However, former Arsenal forward Wright took the opposite view, thinking that Cavani went down too easily under pressure from Fabinho.

“There’s no way that’s a free-kick, no-one is telling me that’s a free-kick on Cavani,” he said. “He’s going towards the ball and he’s starting to go down. It makes no difference what Fabinho does, he’s already on his way down.”

The decision proved crucial to United, who have gone through to the fifth round of the FA Cup, where they will face West Ham United on February 10.

The victory also continued United’s recent form of coming from behind to win.

Salah gave Liverpool the lead with a deft chip over Dean Henderson, but Greenwood’s cool finish from Rashford’s inch-perfect pass brought the scores level just eight minutes later.

Rashford then raced through to make it 2-1 shortly after half-time and, although Salah equalised once more with a low shot through Henderson’s legs, it was Fernandes who made the telling contribution after being brought off the bench in the 66th minute.