 The present main entrance to the mosque is the Bab al @-@ Muzayinīn , which opens into the white marble @-@ paved courtyard at the opposite end of the main prayer hall . To the northeast of the Bab al @-@ Muzayinīn , the courtyard is flanked by the façade of the Madrasa al @-@ Aqbaghawiyya ; the southwestern end of the courtyard leads to the Madrasa al @-@ Taybarsiyya . Directly across the courtyard from the entrance to the Bab al @-@ Muzayinīn is the Bab al @-@ Gindi ( Gate of Qaytbay ) , built in 1495 , above which stands the minaret of Qaytbay . Through this gate lies the courtyard of the prayer hall . 
