Abu Muhammad Salih al-Majiri

Abu Muhammad Salih ibn Yansaran Said ibn Ghafiyyan ibn al-Haj Yahya al-Dukkali al-Majiri (أبو محمد صالح) (sometimes spelled al-Magiri), simply known as Abu Muhammad Salih (1155–1234), was a Moroccan saint and one of the successors of Abu Madyan. He was the patron saint of Safi and lived during the reign of the Almohad Caliphate.

Biography
Salih was born in 1155 in the town of Asfi (Safi). His family were a Berber family that settled in Asfi in the mid 11th century. They belonged to the Banu Hayy, a sub-clan of the Banu Nasr, a clan of the Banu Magir, a Southern Masmuda Berber tribe. He studied under Abu Abdallah Mohammed Amghar in Ribat Shakir. He left Asfi in c. 1180 to study in Alexandria, where he spent twenty years. In c. 1194, he returned to Morocco and founded a ribat in Safi.