The home-based Super Eagles team a place in the quarterfinals of the ongoing African Nations Championships, CHAN taking place in Morocco.
Nigeria started on the backfoot but rallied early enough in the second half to secure a 3-1 win over Equatorial Guinea.
Against the run of play, Nsi Eyama headed Equatorial Guinea into the lead in 40th minute and they held that advantage till the end of the first half.
Dayo Ojo put Nigeria in front in the 69th before Rabiu Ali sealed victory from the penalty spot in the 81st minute.
With the win, Nigeria finished as the top gun in Group C with seven points from three games, while Libya who secured a late win over Libya finished as runners-up and also qualified for the quarterfinals.