Islamic hammams, particularly in the Moroccan case, evolved from their Roman roots to adapt to the needs of ritual purification according to Islam.
Al-Ghazali, a prominent Muslim theologian writing in the 11th century, wrote Revival of the Religious Sciences, a multi-volume work on dissecting the proper forms of conduct for many aspects of Muslim life and death.