Once he told his father...
Once he told his father, expressing his feelings about the debacle of Muslims at the time, “[the Muslims] are vanquished everywhere; [Muslim] territories and policies are being abandoned by the Muslims constantly and with the speed of lightning, and Islam is, thus, in a state of fearful decline. This is [indeed] what I am thinking of, 0 father!”[^2] The Grand Sanusi received his early education from a number of Shaikhs in Algeria, at Mustaghanem and later at Mazun.
His instructors included abu Talib al-Mazuni, abu al-Mahl, ibn al-Qanduz al-Mustaghanemi, abu Ras al-Muaskari, ibn Ajibah, and Muhammad bin Abd al-Qadir abu Ruwainah. Under these Shaikhs he studied the Quran, the Hadith, and Muslim jurisprudence in general. Then he moved to Fez, where for eight years he studied in its grand mosque school, generally known as Jami al-Qurawiyyin , to which innumerable students of Muslim theology used to come from all parts of North Africa.
There he studied under a number of learned Shaikhs, including Hammud bin al-Hajj, Sidi al-Tayyib al-Kirani, Sidi Muhammad bin Amir al-Miwani, Sidi abu Bakr al-Idrisi, and Sidi al-Arabi bin Abmad al-Dirqawi.[^3] But he did not seem to have been happy in Fez.
This was not only because of the pathetic state of morals and the lack of security and stability in the place, but also on account of the discouraging attitude which seems to have been taken by the authorities towards his teachings.[^4] Accordingly, while still in his early thirties, he left Fez for Egypt. There he studied under Shaikhs al-Mili al-Tunisiyy, Thuailib, al-Sawi, al-Attar, al-Quwaisini, and al-Najjar.
From there he went to the Hijaz, where he studied under Shaikhs Sulaiman al-Ajami, abu Hafs bin Abd al-Karim al-Attar, and Imam abu al-Abbas Abmad bin Abd Allah bin Idris. While studying under all these Shaikhs, Sayyid Muhammad bin Ali seems to have fallen under the influence of their Sufi teachings, particularly those of the Tijaniyyah Order in Morocco. Later, however, he became a member of other Sufi Orders, including the Shadhiliyyah, Nasiriyyah and Qadiriyyah.