Praise be to God, who sent His Messenger with the guidance and the religion of truth, that He may make it prevail over all religion, even though the polytheists be averse; who strengthened him with Companions like the stars, enjoining what is right and forbidding what is wrong, by whom the people of error are guided; and who caused them to be followed by scholars like the prophets of the Children of Israel, teaching people what they do not know of the law of their Prophet. May God bless him and grant him peace, and his family and Companions, as many times as all that has been and all that will be, with a blessing and peace perpetual and unbroken until the Day they are raised.
To proceed: whoever desires salvation in the two abodes, felicity in both states, following in goodness, and goodness through following the eminent, must keep to the path of those who went before among the rightly guided imams, the scholars who act [on their knowledge], the verifying men of merit and the meritorious verifiers; of those who did not seek through knowledge disputation or vainglory, nor contention or rivalry, but devoted their night to worship and their day to imparting benefit; who speak the truth and act by it, do good and guide to it; whom no blame of any blamer takes hold of in [the cause of] God, and whom no fear of a wrongdoer turns away from the truth.
There is no way to this path except after knowing them, learning the clear truth about them, encompassing the qualities of the best of them, and acquainting oneself with the whole of their reports.
Since this is a matter that is impracticable and a task that is difficult, indeed one that does not fall within human capability and cannot be attained in its entirety, and it has been said: "What cannot be attained in full is not abandoned in full," and it is incumbent upon us to begin with what is most important, and then the next most fitting, and so on,
and since among the most important of important matters is that a person should know first whom he has made a means of guidance between himself and God, whom he imitates in what he holds and follows in what he aims at, the situation required that we confine ourselves to mentioning our imams, by whom we are guided and whose sayings and deeds we follow.
They are the imam of the imams, the lamp of the community, the trustee of God Most High for the preservation of His law on His earth, who distinguished for His servants between what is necessary (wajib) and what is obligatory (fard), Abu Hanifa al-Nu'man ibn Thabit al-Kufi, may God envelop him with mercy and good pleasure and settle him in the spacious gardens; and his companions, who took from him, followed his example and followed him in goodness, down to this time of ours, may God Most High be pleased with them all. For in them there is sufficiency for whoever seeks guidance, and the utmost for whoever seeks understanding. There is no one among the founders of the schools more eminent than they, and no one who was contemporary with them or came after them can do without them, for people, especially in jurisprudence, are dependent upon them; and in travel [for learning] they are the most eminent of those to whom the livers of camels are beaten. They left no knowledge that could be learnt without acquiring it, and no praiseworthy deed without doing it.
Many books and large volumes have been composed on their virtues, merits and generations (tabaqat), but the passing of time has worn out their freshness and reduced their number; for most of them had their abode in the two 'Iraqs and their dwelling and resting place in the Abode of Peace [Baghdad], and there were also some of them in Transoxania beyond counting, from which we have been cut off by the distance of the stages, the interruption of the caravans, the succession of trials and the alternation of the vicissitudes of time. The books were lost, some by drowning and some by burning; the traces were effaced, the reports were forgotten, and Islam and its people were afflicted. Truly we belong to God and to Him we return.
So it occurred to my mind to compile a separate book, collecting the biographies of the Hanafi masters, giving in full their reports, merits and virtues, mention of their works and compositions, the best of their poetry, the rarities of their reports, and other things, according to [my] capacity and the limit of [my] ability; for otherwise they are among those who cannot be counted, and whom one cannot hope to encompass or reach.
I selected this from the reliable books to which one refers in transmission and on which one depends in report; among them:
Tarikh al-Khatib al-Baghdadi.
Tarikh Ibn Khallikan.
Tarikh Ibn Kathir.
al-Durar al-Kamina fi A'yan al-Mi'a al-Thamina, by the hafiz Ibn Hajar.
Inba' al-Ghumr bi-Anba' al-'Umr, also by him.
Raf' al-Isr 'an Qudat Misr, also by him.
Its continuation (dhayl), called Bughyat al-'Ulama' wa-l-Ruwat, by his pupil Shaykh Shams al-Din al-Sakhawi.
Tabaqat al-Lughawiyyin wa-l-Nuhat, by the hafiz Jalal al-Din al-Suyuti.
Tabaqat al-Mufassirin, also by him.
Nazm al-'Iqyan fi A'yan al-A'yan, also by him.
al-Rawd al-Bassam fi man Waliya Qada' al-Sham, by Ahmad ibn al-Labbudi.
al-Jawahir al-Mudiyya fi Tabaqat al-Hanafiyya, by Shaykh 'Abd al-Qadir al-Qurashi; it is the largest tabaqat work of our imams, the Hanafi masters, that I have come across, although it is concise in relation to the standing of those about whom it was composed.
Tabaqat al-Hanafiyya, by al-Shihab al-Maqrizi.
Tabaqat al-Hanafiyya, by Shaykh Qasim ibn Qutlubugha al-Hanafi.
Tabaqat al-Fuqaha', by Abu Ishaq al-Shirazi; it comprises all the great jurists and the excellent mujtahids, of the followers of the schools that are followed and those not followed, from the Companions, the Successors and others, down to the time in which he lived, may God Most High have mercy on him.
Yatimat al-Dahr, by al-Tha'alibi.
Tatimmat al-Yatima, also by him.
Dumyat al-Qasr, by al-Bakharzi.
al-Kharida, by al-'Imad al-Katib.
Tarikh Qazwin, by Abu al-Qasim al-Rafi'i.
Tarikh Jurjan, by the hafiz al-Sahmi.
Tarikh Al Rasul, without alif and lam, by al-Khazraji.
Mu'jam al-Buldan, by Yaqut al-Hamawi.
Tabaqat al-Muhaddithin, by the hafiz al-Dhahabi.
Tarikh al-Islam, also by him.
al-'Ibar, also by him.
Dhayl al-'Ibar, by the hafiz Zayn al-Din al-'Iraqi.
Dhayl al-Dhayl, by his son, the hafiz Wali al-Din al-'Iraqi.
Tabaqat al-Nuhat, by Ibn Qadi Shuhba.
al-Wafi bi-l-Wafayat, by al-Salah al-Safadi.
A'yan al-'Asr wa-A'wan al-Nasr, also by him.
al-Shaqa'iq, by Ibn Tash Kubri.
Tahdhib al-Asma' wa-l-Lughat, by the imam al-Nawawi.
Tarikh al-Sa'id, by al-Udfuwi.
Tarikh al-Yafi'i.
Asma' Shuyukh Ibn Hajar.
Asma' Shuyukh al-Suyuti.
Mir'at al-Zaman, by Sibt Ibn al-Jawzi.
al-Dhayl 'ala Mir'at al-Zaman, by al-Yunini.
al-Muntazam, by Ibn al-Jawzi.
And other histories, tabaqat works and biographical collections, books on the names of transmitters, diwans of poets and anthologies of men of letters, and from the mouths of trustworthy persons and eminent transmitters. I transmit nothing except after reason and transmission, and the preponderance of probability, bear witness to its soundness.
I have prefaced this book with an introduction containing an account of the one in whose name I composed it and for whom I made it, and useful matters of importance relating to the art of history of which the historian may not be ignorant, and an account of the conventions I have adopted in this book. It is an introduction containing chapters and sections; may God Most High make it productive of every good and conducive to every hope, by His favour and generosity.
I have named it al-Tabaqat al-Saniyya fi Tarajim al-Hanafiyya.
May God Most High make it beneficial and reward [me] for it, by His favour and generosity; He has power over all that He wills, and is worthy and fit to answer [prayer].