The southern wall of the mihrab also has several doorways that lead to an annex space used by the imam. From here, there was also originally a direct access to one of the courtyards of the Dar al-Makhzen (royal palace and government offices).[1]