title: Abu Muhammad Salih al-Majiri
text: # Abu Muhammad Salih al-Majiri
  
  Abu Muhammad Salih ibn Yansaran Said ibn Ghafiyyan ibn al-Haj Yahya al-Dukkali al-Majiri (Arabic: أبو محمد صالح) (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. The Sufi brotherhood of the Magiriyyun derives from him. He wrote a Talqin al-wird and the ribat in Safi, where Abou Mohammed was buried, continued to play an important role until the end of the 15th century. There remains but one written work by Al-Maghri, Bidayat al Mourid, a book on Tassawuf and the lives of certain Sufi saints like Al-Maghri's teacher Abu Madyan. This book would later form the basis of the beliefs of Abdelaziz al-Tebaa. The life of Al-Magiri is described in Al-Minhaj al-wadih, written by Ahmad ibn Ibrahim al-Magiri, a grandson of the saint.
  
  