Medieval Sufis were extremely diverse in terms of doctrine, practice, style, social status, and manner of life. As a result, establishing a common thread or unifying theme can be difficult. The  author of the work excerpted below, ʿAbd Allāh b. Muḥammad b. ʿAlī ʿAyn al-Quḍāt Hamadānī (d. 525/1133), is no exception. Educated in all of the ‘classical’ courses of study of his time, from law to tafsīr to literature, Hamadānī came to embrace a rather idiosyncratic form of Sufism, resulting in accusations of Ismai’ali ‘heresy’ from his political enemies. Perhaps in part due to such accusations, coupled with political and social conflict Hamadānī found himself embroiled in, our author was executed in 1133 at a relatively young age (some sources give his age as thirty-three, others a somewhat older age). Before his execution—which had echoes of the execution of the famous martyr of Baghdad, al-Ḥallaj—Hamadānī wrote numerous treatises, poems, and letters. While some have not come down to us (for instance, he was said to have partially completed a Qur’an tafsīr, which has not survived), a considerable portion of his corpus has been passed down, including a trove of letters, a lengthy philosophical-theological treatise in Arabic, and his Persian handbook of Sufism, the Tamhīdāt, which I have excerpted from and translated here.

Hamadānī deals with two important themes in medieval Sufism: the question of personal epistemology, as it were, and the importance of the spiritual shaykh. His answers to these questions, while drawing upon an already well-established tradition within Sufism, also display his own interpretations and ideas. Certainly Hamadānī is eager to root his arguments in both Qur’an and hadith, while giving both a decidedly different interpretation than would be likely be found among more ‘exoteric’ interpreters. Indeed, the arguments put forward here—for the epistemological veracity of the illumined, properly disposed heart, and the absolute vitality and power of the spiritual master—found resistance and even violent condemnation among some of the non-Sufi ‘ulama of Hamadānī’s era, and afterwards; nor did all Sufis accept positions such as these, either. That is to say nothing of some of Hamadānī’s quite radical and even transgressive positions enumerated elsewhere in this treatise; he is quite comfortable with neo-Platonic philosophy and its theological implications, for instance. However, this work does not seem to have been primarily intended as an apologetic; it seems to have been aimed at initiates or potential initiates into the mystical path of Islam. It is ostensibly addressed to one ‘Aziz, an enquirer into Sufism; implicitly, it is directed to all who are sympathetically interested in the esoteric dimensions of religion. It is written in Persian, not Arabic, thus representing a relatively early vernacular work of Sufism; the language is clear and eloquent, without being overly obscure or excessively Arabicizing. That said, this text is still aimed at possessors of at least a middling education, people capable of reading and more or less understanding the Arabic of the Qur’an and hadith (italicized in my translation).

For more on Hamadānī, his life and works, see Hermann Landolt, ‘‘Ayn al-Qudat Al-Hamadani,’ in The Encyclopaedia of Islam (Third Edition), 2009, Brill Online, ed. Gudrun Krämer, Denis Matringe, John Nawas and Everett Rowson. (E.J. Brill), available (for free!) here; and Carl W. Ernst, Words of Ecstasy in Sufism. SUNY Press, 1985.

Do you understand, O ‘Aziz? The scent from this hadith—The believer is the mirror of the believer—adheres to this subject. For everything that one does not know but wishes to know, there are to ways available [to come to know it]. The first is that by one’s own heart (dil) one ascend, through contemplation and deliberation, until he attains to the right knowledge of the matter. Muhammad—upon him peace—said about this: Consult your heart for legal opinions (istafti qalbaka), verily, your seeking of legal opinion are the muftis. He said: all that is brought before it, the place and mufti of that ought to be sincerity of heart. If the heart gives a fatwa, it is the command of God—do it; if it does not give a fatwa—leave it off.  It is manifest that Verily, the angel has a portion, and the satan has a portion. Whatever the heart gives as a fatwa is divine, and whatever it rebuts is satanic, and the occurrence of these two portions (dū lamma) is in all bodies, among both believers and unbelievers. Our deeds become difficult in that regard when our mufti is the commanding lower self (nafs-i amare) that is the soul commanding evil (Q. 12.53). Everyone whose mufti is the heart is God-fearing and happy, while everyone whose mufti is the lower self (nafs) is a loser and unhappy. If someone does not have the aptitude or predisposition to know [religious knowledge] by means of his own heart, he must seek the heart of someone else and ask of someone with this aptitude—So ask of the people of remembrance if you do not know (Q. 16.43), so that someone else’s heart becomes your mirror.

O friend, hearts are divided into two divisions: the first is that which stands facing what the Pen of God has written upon it: God wrote in their hearts faith (Q. 58.22), and the right hand of God is the scribe. Then whatever he does not know by means of the elevation of his own heart he will come to know. The second division, however, neither attains nor has aptitude to stand facing the Pen of God. When such a one seeks out and comes to know from one whose heart is a mirror and tablet for the Pen of God, he knows from this that it is God who is seen in the mirror of the  soul of the spiritual master (pīr). The spiritual master sees himself in the mirror of the soul of the disciple (murīd), while the disciple sees God in the mirror of the spiritual master’s soul.

And it is like all that we said: all who are sick arise and go to a physician each one seeking a cure. The physician gives them different prescriptions in view of the assuaging of different diseases. If someone says, ‘These different prescriptions are due to the ignorance of the physician,’ he has spoken in error, and this speaker is ignorant of the fact that the difference of prescriptions occurs due to the difference of diseases. For diseases are of various sorts, and prescribing for all diseases with one disease in mind would be ignorance and error. Those who understand what has been said understand the matter. For the formal cause of religion and of the Islam of form is of one sort. Islam is built upon five. The essential prescriptions [of Islam] are fixed, which are the five prescriptions that are the healing and curing of all believers. As for internal works and the illumination of the heart, they are unbound and innumerable. Without doubt, every spiritual master must act as an adroit physician who treats the disciple, and for every different disease command a different medicine. For all those who have abandoned cure and physician it is better that they go under the disease, for If God knew of any good in them, He would have made them hear (Q. 8.23). So it is necessary to travel the Path with an adroit physician; in accordance with the consensus of the shaykhs—God have mercy on their souls—it is a legal obligation. Because of his they say: Whoever has no shaykh has no religion. The shaykh also has obligations, to accept successorship (khilāfat) and to teach disciples the obligations of the Path. If you desire from God the best of perfection, listen to His words: It is He Who made you khalifs on the earth and raised some of you over some of you in ranks. And in proof of internal successorship (khilāfat-i bāṭin) in another place He says: He will make them succeed them as He made those before them to succeed (Q. 24.55).

ʿAbd Allāh b. Muḥammad b. ʿAlī ʿAyn al-Quḍāt Hamadānī