Hurufism (Arabic: حروفية hurufiyya, adjective form hurufi literal meaning "letters" [of the alphabet]) was a Sufi doctrine, which was born in Azerbaijan and spread in areas of western Persia and Anatolia in later 14th – early 15th century.
The founder and spiritual head of the Hurufi movement was Azerbaijanian Fażlu l-Lāh Astar-Ābādī, also called Nāimī (1340–94). Born in Astrabad, Iran, he was strongly drawn to Sufism and the teachings of Mansur Al-Hallaj and Rumi at an early age. In the mid-1370s Nāimī started to propagate his teachings all over Persia and Azerbaijan. While living in Tabriz, Fazlallah gained an elite following in the Jalayirid court, where the writing of his main work, Jawidan-Al-Kabir, allegedly took place. At that time he was still in the mainstream of Sufi tradition. Later, he did move towards more esoteric spirituality, and, failing to convert Timur, was executed in 1394 near Alinja castle in Nakhchivan by the ruler's son Miran Shah. The uprising of Hurufis, who had gathered a large following, was crushed in Azerbaijan, but the popular movement survived for another decade or so in different guises.