He was interested in Sufism and started his own order (Al-hamidiyya Al-shazziliya) in the beginning of the twentieth century. He died at 72 years old and was buried in his mosque containing his tomb. A lot of his literary works are on Sufi topics and poetry both in printed and codex forms.