This resembles the arrangement of the double northern gate of the Qarawiyyin Mosque (named Bab al-Ward and Bab al-Hafa), whereby one gate featured a water channel which allowed visitors to wash their feet as they entered, while the other gate was a regular entrance.[3][2][10] However, it seems likely that in this case the second gate was designed to give direct access to a walled-in gallery section in the northeastern corner of the courtyard which was reserved for women coming to pray.[2][4]