World No. 14 Morocco face the first round of the Africa Cup of Nations qualifiers, and Morocco will play Gabon ranked 83rd in the world at their home stadium.
Just 10 minutes into the first half, Abboud was brought down by the goalkeeper to give Morocco a penalty after entering the opposition box, and Ziyech took the penalty to give Morocco the lead with a spoon.
Six minutes later, Aboucar was awarded a penalty for a handball in the box, but Aubameyang's penalty was deflected wide and Gabon missed a good chance to equalise.
Ten minutes later, Morocco were awarded another penalty and Hakim Ziyech again converted to extend Morocco's lead.
After 14 minutes, Rahimi was awarded a penalty after a handball foul in the box, and this time Aubameyang hit the ball back for Gabon.
In the 14th minute of the second half, Abboud's cross was saved, and Real Madrid superstar Dias followed up with a volley from 12 yards to help Morocco go to the next goal.
Towards the end of the second half, Ounahi sent a brilliant pass and Caebi beat the opposition goalkeeper and fired home from a tight angle to seal the victory for Morocco.
In the end, Morocco beat Gabon to get off to a good start.