Ahli scored a crucial goal in injury time to salvage their pride against arch rivals Zamalek who were on the verge of a decisive victory during the derby match played yesterday.
The result postponed Ahli's league celebrations as a victory would have officially handed them a sixth consecutive title.
Zamalek led twice in the first half through goals from Ahmed Gaafar and Hussein Yasser, who scored against the club he left in January, but Ahli striker Emad Meteb cut short their celebrations on both occasions with two poacher's goals.
Left-back Mohamed Abdul-Shafi looked to have handed Zamalek their first derby win since May 2007 when he netted with 11 minutes remaining.
However, veteran midfielder Barakat came to Ahli's rescue with a powerful shot that left Zamalek keeper Abdul-Wahed Al-Sayed with no chance in the second minute of additional time.
It is the third consecutive Cairo derby draw after both sides settled for goalless stalemates in their previous two league meetings.
Ahli, who enjoy a nine-point lead over second-placed Zamalek, need just one point from their remaining four games to wrap up their 35th league title.
Zamalek will be looking to finish second in to qualify for next season's African Champions League.
Petrojet, who defeated Mansoura 1-0 earlier in the day, are three points behind the White Knights but can bridge that gap if they win their game in hand.
Yesterday's derby was the 105th league Cairo derby between Zamalek and Ahli. The match generated unprecedented revenue that rose to EGP1.3 million.
"The income of the game is the highest in the history of both teams' meetings," Zamalek spokesman Alaa Mekled told FilGoal.com.
"The reason why the game turned more profits than usual is because a separate company was responsible for producing the tickets."