The original complex consisted of the mosque itself, a hospital ("darüşşifa"), primary school, public baths ("hamam"), a Caravanserai, four Qur'an schools ("medrese"), a specialized school for the learning of "hadith", a medical college, and a public kitchen ("imaret") which served food to the poor.