Ghana striker John Antwi scored against his former side as Misr El Maqsa beat Al Ahly 3-2 in the Egyptian Premier League to end the 46-match unbeaten league run of the Cairo giants.
Antwi broke clear after another defence-splitting pass to round Ekramy, who stuck out his leg to bring him down.
He stepped up to place the ball into the bottom corner and give Maqassa a two-goal cushion.
But Moroccan striker Walid Azaro narrowed the deficit with a simple finish for his sixth goal of the season.
Maqasa took the lead through league's top scorer Hussein El-Shahat after 24 minutes, sending home an unstoppable half-volley.
He took his tally to nine goals amid local reports linking him with a move to Ahly.
The Cairo giants leveled the score on the stroke of halftime, thanks to a penalty from spot-kick specialist Abdallah El-Said, but Maqassa went 2-1 up four minutes past the hour mark after Malagasy forward Paulin Voavy rounded off a fine move.