Nigeria will play Cameroon in the 2019 Africa Cup of Nations Round of 16.
The Super Eagles had already qualified, following their consecutive 1-0 wins over Burundi and Guinea, but they were shocked 2-0 by Madagascar in their final Group B fixture.
It meant that Gernot Rohr’s men finished in second place and would face the runners-up from Group F.
The Indomitable Lions could only draw 0-0 with Benin Republic on Tuesday in their final group match.
The result saw them lose top place to Ghana, who beat Guinea-Bissau 2-0 in their own game.
Nigeria’s game against Cameroon will be played this Saturday, July 6.