Portugal's forward Cristiano Ronaldo sticks his tongue out during the Russian Federation 2018 World Cup Group B football match between Portugal and Morocco at the Luzhniki Stadium in Moscow on June 20, 2018.
A fourth minute goal by Cristiano Ronaldo secured the vital win for the European champions.
Morocco, who had a real go at the Luzhniki Stadium but failed to convert their chances, are pointless having also lost 1-0 to Iran and can not progress to the second round.
Luis Suarez marked his 100th global cap by sending Uruguay into the last 16 of the World Cup as the striker benefited from some poor goalkeeping to eliminate Saudi Arabia with a 1-0 win.
"I think we deserved a lot more. If in a match against players like they have, if you don't have the ball, they wear you down and you get into trouble". Bernardo Silva made a decision to take a short corner with the help of Joao Moutinho, who crossed a teasing ball to the six-yard box.
Amrabat was one of Morocco's better performers on an afternoon where they will feel they should have at least taken a draw from Fernando Santos' side.More news: ‘Incredibles 2’ Smashes Animation Box Office Record In North America
It was his 85th worldwide goal, taking him beyond Hungarian Ferenc Puskas's European record, with only Iran's Ali Daei ahead of him on 109.
Morocco coach Herve Renard said he was unhappy at what he felt was a foul by Pepe on Khalid Boutaib that opened the way for the goal.
The second-half was a carbon copy of the first. Amrabat was furious at not being awarded a penalty after wrestling with Raphael Guerreiro.
Just as we witnessed in several games throughout Euro2016, Portugal were the worse side on the day but walked away with all three points.
The result was harsh on Morocco, as was their loss against Iran in their opening game, but it reflected their difficulty producing the telling final ball, despite so much good work in the other two thirds of the pitch.
Mehdi Benatia forced a smart low save from Rui Patricio at a corner for Morocco, before Hakim Ziyach skipped his way into the Portugal area, his goal-bound effort blocked by an outstretched leg.