Nigeria beat Guinea-Bissau 2-0 in Garoua to become the only side at the Africa Cup of Nations to win all three group games.
After making eight changes to the side that beat Sudan to seal their last-16 place, Nigeria took time to warm up.
Umar Sadiq opened the scoring shortly after the break following a cross from striker partner Kelechi Iheanacho.
Captain William Troost-Ekong sealed the win after tapping into an empty net after fine work by Moses Simon.
Nigeria had already topped Group D and knew their round of 16 clash on Sunday would be in Garoua, where they have played all their games so far.
They will have to wait until Thursday night to find out which of the best third-placed sides they face from either Group B, E or F.
Guinea-Bissau, meanwhile, have now gone over seven Nations Cup games without a goal, last scoring in their second match of the 2017 finals when they made their tournament bow.
Nigeria coach Augustine Eguavoen – who has made light of replacing Germany’s Gernot Rohr a month before the tournament – had the luxury of being able to rest players after his side’s fine start to the tournament, retaining only Iheanacho, Troost-Ekong and Wilfred Ndidi.
Defender Semi Ajayi was among those coming into the side and he almost opened the scoring when heading a free-kick over from close range, with Eguavoen holding his head in his hands at the wasted chance.
After Guinea-Bissau’s Maurice Gomis almost spilled an off-target Iheanacho shot into his own net, the Super Eagles finally took the lead when the Leicester City forward laid it on a plate for Almeria forward Sadiq to tap in at the far post.
Guinea-Bissau rallied shortly after when an on-target free-kick from Fali Cande was deflected behind by Troost-Ekong’s arm, with the Video Assistant Referee (VAR) overlooking the incident.
But the VAR referee was heavily involved just moments later when Troost-Ekong side-footed into an empty net after Simon’s blistering strike, after a jinking run past three players, crashed back off the underside of the bar to the Watford man.
Kenyan referee Peter Waweru pointed for offside only for VAR to overturn the goal as Troost-Ekong celebrated only his third goal for his country, two of which have come in the Nations Cup itself.
To their credit, Guinea-Bissau set out to attack but failed to get on the scoresheet once again as Jorginho shinned a decent chance wide just before the break, while Leonel Ucha Alves’ fine strike was smartly tipped round the post by sprawling Nigeria goalkeeper Francis Uzoho.
The West African side leave the competition with one draw and two defeats, just as they did at their two previous visits to the finals in both 2017 and 2019.
The Super Eagles, meanwhile, showed their strength in depth and that they will take some stopping but there will be far sterner tests ahead for a side buoyed by good support in Cameroon, which Nigeria borders.