Egypt will face South Africa in the last 16 of the African Cup of Nations on Saturday at Cairo Stadium after the group stage concluded on Tuesday.
South Africa qualified for the knockout phase from Group D as one of the best four third-placed sides, collecting three points.
Egypt advanced as Group A winners with maximum nine points following wins over Zimbabwe, DR Congo and Uganda.
The Pharaohs' last competitive games against South Africa were in the 2012 Nations Cup qualifiers, with the Bafana Bafana defeating them 1-0 at home before holding them to a 0-0 draw on the road.
Egypt won the 1998 Nations Cup in Burkina Faso after beating South Africa 2-0 in the final.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)