Final answer:
A building that combines a school, prayer hall, and lodging for students is called a madrasa. It is an educational institution in the Islamic world that provides religious instruction and includes a mosque for prayer and study as well as living quarters for the students.
Step-by-step explanation:
A building that combines a school, prayer hall, and lodging for students is called a madrasa. A madrasa is a type of educational institution in the Islamic world that provides religious instruction, as well as housing for students. It typically includes a mosque for prayer and study, along with living quarters for the students.
For example, the Friday Mosque of Sultan Hasan in Cairo, Egypt, is a complex that includes a madrasa, where students could study Islam and live on-site. The building has a qibla wall with a mihrab, which indicates the direction of Mecca, as well as minarets, which are tall towers used for the call to prayer.
Overall, a madrasa is an important institution in Islamic culture, providing both education and spiritual guidance for students.