علي بن يوسف
The so-called Almoravid Koubba, also known as the "Qubba Ba'adiyyin" or "Qubba Barudiyyin," is the only surviving example of Almoravid architecture in Marrakesh. It was built in either 1117 or, more likely, in 1125, by the Almoravid amir Ali ibn Yusuf. Located just south of the Ben youssef Mosque today, most scholars believe that it belonged to the Almoravid mosque built by Ali Ibn Yusuf and that it was a pavilion used for ritual ablutions before prayer. This type of structure for providing water near a mosque was also known as a "mida'a" (; "ablutions facility") and is found in later mosques in Marrakech.