Bayazid Bastami (Persian بايزيد بسطامى ), also known as Abu Yazid Bistami or Tayfur Abu Yazid al-Bustami, (804-874 or 877/8 CE) was a PersianSufi born in Bastam, Iran.
The name Bastami means "from the city of Bastam". Bayazid's grandfather was a Zoroastrian who converted to Islam. His grandfather had three sons, Adam, Tayfur and 'Ali. All of them were ascetics. Abayazid was born to Tayfur. Not much is known of his childhood, but Bayazid spent most of his time in isolation in his house and the mosque. Although he remained in isolation, he did not isolate himself from the Sufi realm. He welcomed people into his house to discuss Sufism. Bayazid also led a life of asceticism and renounced all worldly pleasures in order to be one with God. Ultimately, this led Bayazid to a state of "self anhiliation", which, according to Sufism, is the only state a person could be in order to be closest with God. Bayazid became known as the first "intoxicated" Sufi because of the openness of his expressions he felt towards God (shatahat). Bayazid is regarded as being one of the most influential mystics due to the fact of how controversial he was at the time.
Abū Yazīd Mukhallad ibn Kayrād (Arabic: أبو يزيد مخلد بن كيراد; 873 - 19 August 947), nicknamed Ṣāhib al-Himār "Possessor of the donkey", was a Kharijite Berber of the Banu Ifran tribe who led a rebellion against the Fatimids in Ifriqiya (modern Tunisia and eastern Algeria) starting in 944. Abū Yazīd conquered Kairouan for a time, but was eventually driven back and defeated by the Fatimid caliph al-Mansur.
Abū Yazīd's father Kayrād was a trans-Saharan trader from Qastilia, where he was born; he grew up in Tozeur. Abū Yazīd inclined towards the Nakkariyyah branch of Sufri Kharijism. After he grew up, he went to Tahert, the Rustamid capital and the main center of (Ibadi) Kharijism in the Maghreb of the time and took up teaching.
However, in 909 the Ismaili Shī‘ī Fatimids conquered the Rustamids and soon after the Sufri state of Sijilmassa to the west. Abū Yazīd moved to Tiqyus and began agitating against Fatimid rule in 928. When the Fatimid al-Mahdi died in 944, Abū Yazīd launched a rebellion in the Aures mountains and declared himself Shaykh al-Mu'minīn "Elder of the Believers", seeking aid from the Umayyads of Andalus.