This was the outcome of the draw held at the headquarters of the Confederation of African Football (CAF) in Cairo, Egypt.
The News Agency of Nigeria (NAN) reports that the finals is scheduled to hold in Russia.
The pairing shows that the Super Eagles faces an uphill task, as all the three sides are among the continent’s best.
In the other pairings, Tunisia, Libya, Congo DR and Guinea were drawn in Group A.
Group C has Gabon, Mali, Cote D ‘ Ivoire and Morocco, while Group D has Senegal, South Africa, Burkina Faso and Cape Verde.
Group E has Ghana, Egypt, Congo and Uganda.
NAN reports that only the group winners will qualify for the finals.