Ex- African Footballer of the Year the Napoli star was instrumental in his team establish a 3-0 lead, but the Super Eagles were forced to defend resolutely for a hard-fought win.
The three-time champions weathered a dramatic comeback attempt from Tunisia to advance to the last 16 of the 2025 Africa Cup of Nations taking place in Morocco.
The Super Eagles seemed to be cruising in their pool clash in Fes, holding a 3-0 cushion with only a quarter of an hour left courtesy of strikes from their attacking trio.
Yet, Montassar Talbi pulled one back with a close-range finish from a Hannibal Mejbri set-piece, sparking hopes of a recovery.
The drama escalated when Tunisia were given a spot-kick after a VAR check identified a handling offense by the Nigerian defender. The left-back converted in the dying stages to set up a nail-biting finale.
Tunisia were inches away from a stunning leveler in added time, with captain Ferjani Sassi heading a chance narrowly wide before Ismael Gharbi sent a bobbling volley past the upright.
Securing First Place
This result ensures that the Super Eagles, champions of the tournament on 3 previous occasions, advance to 6 group points and are guaranteed first place in Group C with a match still to be contested.
For the round of 16, they will meet a best third-place team from either the other preliminary groups.
Meanwhile, Tunisia remain on 3 group points, with Uganda and Tanzania locked on one point each after playing out a 1-1 draw in the day's other fixture.
The final group fixtures will see the group leaders remain in Fes to play Uganda on Tuesday, while the Eagles of Carthage return to the capital to face the Taifa Stars.
An Anxious Finish
The Tunisian defender smashed the ball from 12 yards to offer Tunisia hope of snatching a draw.
Nigeria, finalists in the 2023 tournament, are the next team after the Pharaohs to reach the knockout stage, but their manager and supporters will certainly be breathing a sigh of relief.
What looked like set to be a comfortable last period morphed into a tense conclusion.
The prolific striker had a effort disallowed for offside before breaking the deadlock on the stroke of half-time, expertly guiding a glancing effort into the far post from an Atalanta winger cross.
The lead was extended early in the second period when Wilfred Ndidi rose highest to thump in a powerful nod from a Lookman corner.
Osimhen then turned provider his teammate for the third goal, only for Montassar Talbi to direct a header past the Nigerian shot-stopper to initiate the fightback.
The pivotal moment came when a high ball struck the forearm of Bright Osayi-Samuel, with the official awarding a penalty after reviewing the VAR monitor.
Although Ali Abdi's confident conversion, Tunisia in the end fell short of completing a remarkable comeback.
Tunisia's destiny is still in their control; a draw against Tunisia will be enough to see them through, and manager Sami Trabelsi will be keen to prevent a recurrence of the past early elimination that resulted in his departure.