Egypt defeated Ivory Coast 5-4 on penalties to go to the Africa Cup of Nations quarter-finals in Cameroon after a 0-0 stalemate.
The North Africans gained an advantage in the shoot-out when replacement goalkeeper Gabaski stopped Eric Bailly’s attempt in the third round of penalty kicks.
And Pharaoh’s skipper Mohamed Salah converted the game-winning penalty to advance the record seven-time winners.
On Sunday in Yaounde, Egypt will meet Morocco in the final eight.
The conclusion was fairly harsh on Manchester United defender Bailly, who had excelled at the back despite wearing a rugby scrum cap after a head injury.
Yet he made a short run-up for his penalty and struck the ball too near to Gabaski, who dove to his right and extended his left hand to push the ball against the bar.
The Zamalek goalkeeper came in late in the second half to replace Mohamed El Shenawy, who suffered a leg injury. He may possibly start against Morocco, depending on the degree of El Shenawy’s injury.