The entrance portal leads to a long stone-vaulted passage with the madrasa and its central courtyard on the left and some annexes on the right. These annex rooms are part of a series of rooms located within the outer parts of the complex, wrapped around the madrasa courtyard and distributed along three stories.[1] These included service rooms for staff and living quarters for the students.[2]