A first half goal from Mohammed Salah was all the Pharoahs needed at the Stade de Port Gentil to secure top spot, a feat which means they will face Morocco in the quarter final on Sunday January 29 at the same venue.
AS Roma's Salah, 24, lashed in a thunderbolt shot from a free kick just outside of the box in the 10th minute to help Hector Cuper's men to the narrow win. Newly signed Columbus Crewe defender Jonathan Mensah, returning to Ghana's starting XI after seeing the first two games from the bench, was the villain as he crucially lost possession deep in his own half, leading to John Boye having to foul a menacing El Said for the free kick.
Salah celebrate his goal against Ghana
Ghana captain Asamoah Gyan saw his milestone 100th cap end in misery as he was pulled off for Jordan Ayew on 40 minutes following an injury.
There was some late drama - with end to end saves from Hadary and Ghana goalie Razak Brimah to deny Jordan Ayew and Mahmoud Kahraba.
Ghana, who lost their third consecutive game to the North African side, will now have to travel to Oyem for their quarter final against face the DR Congo on Sunday January 29.