The Safvat as-safa was written by Ebn Bazzaz (Persian: ابن بزّاز) (d. 1391-2), a disciple of Safi ad-Din's son and successor, Sadr al-Dīn Mūsā, who prompted him to write the work. He probably completed it in 1358. Little else is known of his life.
The work is divided into an introduction, 12 chapters (باب), and a conclusion. Only two of the chapters (chapters 2 and 11) deal with the circumstances of his life. Most of the rest of the book recounts numerous episodes of the shaykh performing miraculous feats. The work also includes Shaykh Safi's commentaries on various passages of the Qur'an and hadith. The contents may be summarized as follows:
- Introduction: Prophecies by the Prophet Muhammad and various holy men foretelling the coming of Sheikh Safi.
- Chapter 1: Safi ad-Din's genealogy, childhood, discipleship under Sheikh Zahed Gilani, and succession to leadership of the order.
- Chapter 2: Miracles in which Shaykh Safi saved people from perilous situations in the sea, the mountains, or from enemies or illness.
- Chapter 3: Miracles motivated either by Shaykh Safi's grace or displeasure.
- Chapter 4: Safi ad-Din's explanations of difficult passages or apparent contradictions in the Qur'an and hadith.
- Chapter 5: Miracles of Safi ad-Din involving jinn, animals, and non-living things.
- Chapter 6: Safi ad-Din's practice of dhikr.
- Chapter 7: Various miracles performed by Safi ad-Din, such as reading minds, predicting the future, and contact with the dead.
- Chapter 8: Safi ad-Din's virtues and pious acts.
- Chapter 9: Safi ad-Din's final illness and death.
- Chapter 10: Miracles Safi ad-Din performed after he died.
- Chapter 11: The shaykh's greatness and fame throughout the world.
- Chapter 12: Miracles performed by Safi ad-Din's disciples.
Shaykh Safi ad-Din was a Sunni and an adherent of the Shafi`i school of law. In 1501 the Sufi order he founded became the ruling family in the Safavid empire, but they converted to Shi`ism while at the same time continuing their role as head of the order. Certain elements in the Safvat as-safa, particularly Shaykh Safi's genealogy and his religious views, became inconsistent with the Safavid dynasty's self-image. Therefore, in 1542, Shah Tahmasb commissioned Mir Abu al-Fat'h Husayni to revise the Safvat as-safa to give it an explicit Shi`i tone. This official version contains textual changes designed to obscure the Kurdish origins of the Safavid family and to vindicate their claim to descent from the Imams.
There have been two published editions of the Safvat as-Safa. The first was a lithographed edition prepared by Mirza Ahmad ibn Hajj Karim Tabrizi and published in Bombay in 1911. This has traditionally been the standard edition used by scholars, who call it the Bombay lithograph. The second published edition appeared in 1994 in Tehran, edited by Ghulam Reza Tabataba'i Majd. Since Majd based his edition on a larger set of manuscripts of better quality, it may become the new scholarly standard.
- B. Nikitine, "Essai d'analyse du Safvat-us-safa," Journal Asiatique 245 (1957), 385
- E. Glassen, "Ibn al-Bazzaz al-Ardabili," Encyclopaedia of Islam, 2nd ed.
- Roger Savory, "EBN BAZZĀZ" in Encyclopædia Iranica
- Zeki Velidi Togan, "Sur l'origine des Safavides," in Mélanges Louis Massignon 3 (Damascus: Institut Français de Damas, 1957), 353
- Michel M. Mazzaoui, "A 'New' Edition of the Safvat al-safa," in History and Historiography of Post-Mongol Central Asia and the Middle East: Studies in Honor of John E. Woods, ed. Judith Pfeiffer, Sholeh Quinn, and Ernest Tucker. Wiesbaden: Harrassowitz, 306