Mohamed Salah scored a last-minute winner as Egypt came from behind to end Tunisia's 100% record in African Nations Cup qualifying with a 3-2 win in Alexandria on Friday.

Morocco beat Cameroon 2-0 in Casablanca and are now one point from a place in next year's finals while tiny Burundi moved a step closer to qualification for the first time with a 5-2 away win over South Sudan.

Egypt and Tunisia had already secured their places at the finals by making sure of the top two spots in Group J but their clash was still bristling with tension after last week's victory for Tunisian club Esperance over Cairo's Al Ahly in the African Champions League final.

Naim Sliti scored the opener for Tunisia after 13 minutes but Egypt were level at the break after Mahmoud 'Trezeguet' Hassan equalised with a deflected shot.

Baher El Mohamady put Egypt ahead with a 59th-minute header but fellow defender Ahmed Hegazy handed Sliti the chance to score his second with a poor clearance 18 minutes from time.

Salah, who had a quiet match, then produced yet another last-gasp winner for his country in the 90th minute with a deft chip over the goalkeeper after a quick interchange of passes.

Tunisia remained top of the group on the head-to-head countback with both countries on 12 points from five matches. Egypt have now won four matches since the World Cup in Russia under new coach Javier Aguirre.