After the Koutoubia, this is the medina's largest mosque and Marrakesh's oldest. The building was first constructed in the second half of the 12th century by the Almoravid sultan Ali ben Youssef, around the time of the Qoubba Almoravid. In succeeding centuries it was destroyed and rebuilt several times by the Almohads and the Saadians, who changed its size and architecture accordingly; it was last overhauled in the 19th century, in the then-popular Merenid style. Non-Muslims may not enter.
Just off Rue Souk el Khemis, Rue Assouel, next to Ali ben Youssef Medersa, Marrakesh, Morocco