[1][2][3] Sultan Muhammad ibn Abdallah did not choose a capital for his reign but in practice he based himself in Marrakesh more than any other city.
[4][2] Between this and the prayer hall was a vestibule alongside two waiting rooms for the sultan and government officials.
[2] The prayer hall, measuring 15 by 25 metres, is smaller than the courtyard and does not follow the usual form of prayer halls in Moroccan mosques: instead of a hypostyle space with rows of arches, it is composed of a large square chamber covered by a cupola resting on 12 columns and of another rectangular space in front of the mihrab (niche symbolizing the direction of prayer).
The sultan had his own private entrance, accessible from the palace, which opened next to the mihrab inside the mosque.
[4][2] The mosque was originally provided with an adjoining madrasa and an ablutions chamber (midha), but these were in ruins by the mid-20th century.