Ex- Continent's Best Player of the Year Victor Osimhen helped his team build a commanding lead, but the Super Eagles were compelled to hold on for a narrow victory.
The three-time champions weathered a dramatic late rally from Tunisia to advance to the knockout stage of the 2025 Africa Cup of Nations taking place in Morocco.
The Super Eagles appeared to be cruising in their Group C clash in the Moroccan city, holding a three-goal lead with only a quarter of an hour remaining courtesy of goals from their attacking trio.
However, a Tunisian defender pulled one back with a close-range finish from a Manchester United midfielder set-piece, igniting hopes of a recovery.
The drama intensified when the North Africans were given a late penalty after a video assistant referee check spotted a handball by the Nigerian defender. Ali Abdi calmly slotted home in the dying stages to set up a frantic finale.
The Carthage Eagles were inches away from a stunning leveler in added time, with their skipper directing a chance just past the post before a substitute sent a half-volley wide of the upright.
Clinching First Place
The victory ensures that Nigeria, winners of the tournament on 3 previous occasions, move to six points and are guaranteed first place in their pool with a match still to play.
In the next round, they will face a best third-place team from either the other preliminary groups.
Meanwhile, the 2004 champions remain on 3 group points, with Uganda and Tanzania tied on one point each after registering a 1-1 draw earlier on Saturday.
The final pool fixtures will see the group leaders remain in the city to play the Cranes on Tuesday, while the Eagles of Carthage travel back to Rabat to face the Taifa Stars.
An Anxious Conclusion
Ali Abdi smashed the ball from the penalty spot to give his team a glimmer of hope of snatching a draw.
Nigeria, finalists in the 2023 edition, are the next team after Egypt to qualify for the knockout stage, but coach Eric Chelle and supporters will undoubtedly be breathing a sigh of relief.
What looked like set to be a comfortable last period morphed into a nerve-wracking affair.
The prolific striker had a goal ruled out for an infringement before breaking the deadlock right before half-time, expertly guiding a glancing effort into the bottom corner from an Atalanta winger delivery.
The lead was extended early in the second half when the Leicester City midfielder rose highest to power home a powerful nod from a set-piece corner.
Osimhen then set up Lookman for the seemingly decisive goal, before Montassar Talbi to direct a powerful header past the Nigerian shot-stopper to begin the comeback.
The key moment came when a looping cross hit the forearm of the full-back, with the official awarding a penalty after consulting the pitchside screen.
Despite Ali Abdi's confident conversion, the 2004 champions ultimately came up just short of pulling off a remarkable recovery.
Tunisia's destiny remains in their control; a point against Tanzania will be enough to secure progression, and manager Sami Trabelsi will be keen to prevent a recurrence of the past group-stage exit that led to his departure.