The building complex consists of a mosque which adjoins the hospital with which it shares its southern, qibla wall. The main entrance to the mosque is on the northern side and is marked by a tall portal which is celebrated for the quality and density of its high-relief stone carving. An entrance on the western side may be from a later date as this façade of the mosque had collapsed and was rebuilt at a later date when it was also strengthened by a round buttress on the north-western corner. A third entrance to the mosque is located on the eastern façade. This entrance appears to have served as a royal entrance which gave access to the raised wooden platform in the southeastern corner of the mosque's interior, reserved for the ruler and his entourage.