The Super Eagles of Nigeria and Egypt were drawn together and so were Cameroon and South Africa in the highlights of the 2017 Africa Cup of Nations qualifying draw made Wednesday in Cairo.
The Eagles and the Pharaohs of Egypt are in Group G with Tanzania and Chad, and the Cameroonians and South Africans in Group M with Gambia and Mauritania.
Egypt have won the biennial Cup of Nations tournament a record seven times, Cameroon four times, Nigeria three times and South Africa once.
Only the 13 group winners are guaranteed places at the January-February 2017 tournament in Gabon with just the best two runners-up also going through.
Defending champions Cote d’ Ivoire face Sudan and Sierra Leone in Group I, which also includes Gabon.
However, matches against automatic qualifiers Gabon count as friendlies with no points awarded.
Ghana, who won their African Cup of Nations title 33 years ago, are in Group H with Mozambique, Rwanda and Mauritius.
Morocco were originally barred from the 2017 qualifiers after refusing to host the
tournament this year because they feared supporters could bring the deadly Ebola virus into the country.
But the north African kingdom successfully appealed against the ban to the Switzerland-based Court of Arbitration for Sport (CAS).
The Moroccans were placed in Group F with the Cape Verde Islands, Libya and Sao Tome e Principe.
Tunisia were another country whose participation was in doubt after accusing African governing body CAF of bias following a controversial 2015 Cup of Nations quarter-finals loss to hosts Equatorial Guinea.
They eventually apologised to CAF president Issa Hayatou and are in Group A with Togo, Liberia and Djibouti.
Zambia, shock winners of the 2012 title when co-hosts Gabon staged the final in Libreville, face Congo Brazzaville, Kenya and Guinea Bissau in Group E.
Qualifying begins in June. The draws in full are elsewhere on Completesportsnigeria.com website.Watch The Premier League Live!! with EXPRESSVPN the #1 Trusted Name in VPN