Wahhabi movement
He worked and campaigned against the Wahhabi movement and the reformers in Cairo like Muhammad Abduh and al-Afghani who were changing Sunni Islam. He believed in the law, or Shariah in restricting all Sufi activity, being of the Shafi madhab or thought of Sunni Islam holding a similar stance to al-Ghazali in his later years on Sufism.