Abu al-Hassan Ali ibn Moussa ibn Rashid al-Alami, also known as Sherif Moulay Ali Ben Rachid, was the founder of the city of Chefchaouen, Morocco. He was an Idrisid[1] and descendant of Sufi saint Abd as-Salam ibn Mashish al-Alami.[2] He was also the father of Sayyida al-Hurra, governor of Tetouan.
He founded the city of Chefchaouen in 1471 as a base from which to attack the Portuguese who had conquered Ceuta in 1415.