The rectangular main courtyard of the madrasa is surrounded by iwans on four sides in a cruciform configuration. The iwans along the qibla axis (i.e. aligned with the direction of prayer) are larger than the transverse iwans.