From around 800 the term Sufi (from the Persian for coarse wool, denoting the kind of garment worn) was applied to Islamic mystics who adopted ascetic practices as a means of achieving union with God. The philosophers Al-Ghazali and Al-Farabi practised sufism and contributed to its mystical doctrines.
Philosophy dictionary. Academic. 2011.