Morocco became the first country to qualify for the 2023 Africa Cup of Nations slated for Ivory Coast, despite playing just two Group K games.
The 2022 World Cup semi-finalists beat South Africa and Liberia 2-1 and 2-0, respectively, to top their group with six points, five ahead of the runners-up (Liberia).
Their other opponent Zimbabwe, whom they were bound to play in September last year over two legs, was forfeited.
Zimbabwe was suspended by the global football governing body FIFA for government interference in the country's football league.
In the Group, Liberia and South Africa are both on one point, while Zimbabwe were disqualified.
Meanwhile, the Moroccans were joined by fellow Maghreb nation Algeria on Monday, who beat Niger 1-0 to take their tally to 12 points in Group F.
Algeria and Niger are placed in the same group with Uganda. Still, the latter rocks the bottom with just a point and take on current runners-up Tanzania at the Benjamin Mkapa Stadium later on Tuesday.