Opposed to the French occupation of Morocco, he denounced the compromises of Sultan Abd al-Hafid and settled in Medina in 1907, then part of the Ottoman Empire, where he met intellectuals from all over the Muslim world.
He returned to Morocco to join the revolt of the Sultan's brother, a movement supported by his cousin Mohamed bin Abd al-Kabir al-Kattani.
After the First World War, he took part in the struggles against the French mandate and, while remaining faithful, took an interest in pan-Islamism and the renewal of Islam, the only means, according to him, to allow Muslims to free themselves from the Christians.
Most of the 'ulama' in Syrian cities have joined the sect and have led, ipso facto, to the great Muslim religious and philanthropic societies whose influence over the masses are unquestionable.".
[4] He also wrote al- Azhār al-ʻāṭirat al-anfās bi-dhikr baʻḍ maḥāsin quṭb al-Maghrib wa-tāj madīnat Fās (الأزهار العاطرة الأنفاس بذكر بعض محاسن قطب المغرب وتاج مدينة فاس).