Al Ahly were given a lifeline after being awarded a penalty following a Video Assistant Referee (VAR) review.
The visitors were unable to profit after Ali Maaloul’s spot-kick was saved by Anas Zniti.
Bafana Bafana star Percy Tau had a golden opportunity to put Al Ahly ahead eight minutes after the restart, but he failed to beat Zniti in a one-on-one situation.
With Raja Casablanca piling on the pressure late in the match, Tau’s night up front came to an end with eight minutes remaining on the clock as he made way for Salah Mohsen.
Al Ahly managed to hold on for the draw and claimed a 3-2 aggregate win to advance to the final four.
They will meet Algerian side ES Setif in the semi-finals.
ES Setif beat Esperance de Tunis of Tunisia 1-0 on aggregate in their two-legged quarter-final.