Ahmed ibn Abi Mahalli (1559–1613), born in Sijilmasa, was an imam and the (Sufi) leader of a revolt (1610–13) against the reigning Saadi dynasty in the south of Morocco in which he proclaimed himself as mahdi. He is the author of many books of which only six remain today. among those are l'Islit al-khirrit (also spelled al-Aslit), Al Salsabil and Miharas.
^Mercedes Garcia-Arenal, "Imam et Mahdi : Ibn Abî Mahallî", in Revue des mondes musulmans et de la Méditerranée, 2000, p. 157-180  (retrieved 3-2-2011) translation in English, in: Mercedes Garcia-Arenal, Messianism and puritanical reform: Mahdīs of the Muslim west, Brill, 2006
^Berque, Ulémas, fondateurs, insurgés du Maghreb, Paris, Sindbad, 1982, p. 275