Quick answer: Abu Hanifa al-Nu’man ibn Thabit (699 to 767 CE, 80 to 150 AH) was a silk merchant of Kufa who became the jurist whose teaching gave the Hanafi school its name. Reports say he refused a judgeship under the Abbasid caliph al-Mansur and died in prison in Baghdad. His students, above all Abu Yusuf and Muhammad al-Shaybani, wrote down and organised his legal opinions.
A merchant of Kufa
According to Britannica, Abu Hanifa was born in Kufa, an intellectual centre of Iraq, and belonged to the mawali, the non-Arab Muslims. He was the son of a merchant, gained wealth in the silk trade, and studied law under the jurist Hammad. His birth year is given variously in the biographical dictionaries, but 699 is considered the most sound.
His family background is less certain. The Encyclopaedia Iranica says he was probably of eastern Iranian stock, but that where his ancestors came from, and whether they were free or enslaved in the first days of Islam, is hard to establish.
He is not remembered as a man who left trade behind. A merchant’s livelihood gave him independence, and the trade routes of Kufa brought scholars and ideas to the city.
Hammad’s circle and the Kufan tradition
Kufa had a distinct legal tradition. Ibrahim al-Nakha’i was a pioneer of reasoned opinion (ra’y) and analogy (qiyas), and he influenced later Kufan jurists through his student Hammad ibn Abi Sulayman, including Abu Hanifa.
Sources differ on how long Abu Hanifa sat with Hammad. Accounts speak of 18 to 20 years, and say his ability earned him a seat directly in front of the teacher. After Hammad died in 738, Abu Hanifa became his successor, and he named his own son Hammad in tribute to the teacher.
Hammad was not his only teacher. Britannica adds that he also learned from the Meccan traditionist ‘Ata’ (died around 732) and from Ja’far al-Sadiq (died 765).
The Qur’an itself praises people of knowledge, a theme that runs through the biographies of every early jurist.
أَمَّنْ هُوَ قَٰنِتٌ ءَانَآءَ ٱلَّيْلِ سَاجِدًۭا وَقَآئِمًۭا يَحْذَرُ ٱلْءَاخِرَةَ وَيَرْجُوا۟ رَحْمَةَ رَبِّهِۦ ۗ قُلْ هَلْ يَسْتَوِى ٱلَّذِينَ يَعْلَمُونَ وَٱلَّذِينَ لَا يَعْلَمُونَ ۗ إِنَّمَا يَتَذَكَّرُ أُو۟لُوا۟ ٱلْأَلْبَٰبِ
Is one who is devoutly obedient during periods of the night, prostrating and standing [in prayer], fearing the Hereafter and hoping for the mercy of his Lord, [like one who does not]? Say, "Are those who know equal to those who do not know?" Only they will remember [who are] people of understanding.
Abu Hanifa taught in public and was not shy of argument. The Encyclopaedia Iranica describes him as a sharp, outspoken critic of errors he saw in the judges and jurists around him, with many reports of his opposition to the Kufan judge Ibn Abi Layla.
Timeline
The table below gathers the main dates. Where the sources give different figures, the right-hand column says so.
| Year (CE / AH) | Event | Status in the sources |
|---|---|---|
| 699 / 80 AH | Born in Kufa | Most sound year according to Encyclopedia.com; other years are reported |
| Early adulthood | Trades in silk and studies with Hammad ibn Abi Sulayman | Length of study reported as 18 to 20 years |
| 738 | Hammad dies; Abu Hanifa leads his study circle | Agreed |
| 754 | Al-Mansur is inaugurated as the second Abbasid caliph | Context; he was proclaimed in 753 and inaugurated the following year |
| 763 / 145 AH | Revolt of Ibrahim ibn Abdallah ends; some accounts link Abu Hanifa’s sympathies to it | Reported; the link to his imprisonment varies by account |
| After al-Mansur’s accession | Offered the post of chief judge, refuses, is imprisoned | Offer and refusal widely reported; exact year differs |
| 767 / 150 AH | Dies in Baghdad | Agreed; age (67, 68 or 70) and cause of death differ |
| 798 / 182 AH | Abu Yusuf, his senior student, dies as Grand Qadi | Agreed |
| 805 | Muhammad al-Shaybani dies | Some references give 804 |
| 985 to 986 / 375 AH | A mosque is built near his tomb in Baghdad | Reported |
What is agreed and what differs
Historians agree on the outline: Kufa, the silk trade, the study with Hammad, teaching in Kufa and Baghdad, and death in Baghdad in 150 AH. Encyclopedia.com notes that he was buried in Baghdad, though sources differ on the month of his death.
Several details carry real differences. Britannica gives his age at death as 68, Wikipedia’s biography as 67, and a popular biography site as 70, so the figure is better treated as approximate.
The cause of death is the most discussed point. One account says he died in prison in 150 AH either from poisoning or from old age, and the Iranica entry says later sources contain allegations about the circumstances of his death. This site reports both views and does not choose between them.
Later biographies add vivid details, such as an exact number of lashes or a death in prostration. These come from late retellings. The reference works consulted here do not confirm them, so they’re left out. This article draws on modern reference works, which in turn cite classical authors such as Ibn Kathir; it doesn’t rest on a first-hand reading of the classical biographies.
The method: reasoning inside the sources
Britannica credits Abu Hanifa with being the first to develop systematic legal doctrines from the accumulated Islamic legal tradition. That is Britannica’s wording, and other schools trace their own method to teachers of the same generations.
Two tools stand out in descriptions of his approach. Qiyas, analogy, extends a ruling to a new case that shares its cause. Istihsan, often translated as juristic preference, sets aside a strict analogy where it would cause hardship. Zufar ibn al-Hudhayl, his student, applied analogy fully, while Abu Hanifa and others sometimes accepted istihsan to ease hardship. So even inside his circle, the method was debated.
The word fiqh means understanding, and a well-known report in Sahih al-Bukhari ties understanding of the religion to Allah’s favour.
مَنْ يُرِدِ اللَّهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ، وَإِنَّمَا أَنَا قَاسِمٌ وَاللَّهُ يُعْطِي، وَلَنْ تَزَالَ هَذِهِ الأُمَّةُ قَائِمَةً عَلَى أَمْرِ اللَّهِ لاَ يَضُرُّهُمْ مَنْ خَالَفَهُمْ حَتَّى يَأْتِيَ أَمْرُ اللَّهِ
Narrated Muawiya:I heard Allah's Messenger (ﷺ) saying, "If Allah wants to do good to a person, He makes him comprehend the religion. I am just a distributor, but the grant is from Allah. (And remember) that this nation (true Muslims) will keep on following Allah's teachings strictly and they will not be harmed by any one going on a different path till Allah's order (Day of Judgment) is established
Abu Hanifa’s use of hadith has been discussed for centuries. Contemporaries called the early school the ashab Abi Hanifa (“companions of Abu Hanifa”) and the ashab al-ra’y. In one text by his student Abu Yusuf, he is quoted citing a hadith in around 10% of the cases listed, but cites narrations from the Prophet’s ﷺ Companions more often. That is a figure from a single work, not a count of his whole output.
Later Hanafi scholars narrowed the gap with their critics. Al-Shaybani relied more than his teachers on the traditions of the Prophet ﷺ without abandoning their rationalist tradition, and so helped the Iraqi school win acceptance from its traditionist rivals.
The judgeship he refused
Britannica’s summary says he was primarily a scholar who neither accepted a judgeship nor took direct part in court politics. Reports on the offer from al-Mansur are consistent in outline: the caliph offered him the post of chief judge (qadi al-qudat), he refused, and this led to torture and prison.
A second report says al-Mansur ordered him to issue fatwas that would expand the caliph’s authority, which he declined, and he was returned to prison. Some accounts also connect his imprisonment to the Alid revolt of 763: among those said to have taken the side of Ibrahim ibn Abdallah were the traditionist al-A’mash and Abu Hanifa. The accounts don’t agree on how these threads fit together.
His funeral shows the standing he had. Iranica reports, citing Ibn Kathir, that six funeral prayers had to be held one after another because of the size of the crowds. The same entry says despite having been controversial, he seems always to have been highly esteemed by the majority of the Muslim community.
The students who wrote it down
Abu Hanifa left few books. He wrote down little if anything, and only a few works attributed to Abu Yusuf survive. Texts such as the Fiqh al-Akbar are attributed to him, and some scholars assign later dates to other creedal works linked to his name.
| Student | Years (CE) | Known for |
|---|---|---|
| Abu Yusuf | 729 to 798 | Held the post of Grand Qadi until his death; wrote Kitab al-Kharaj on taxation and public finance |
| Muhammad al-Shaybani | 749/750 to 805 | Produced most of the earliest surviving Hanafi texts, including the Kitab al-Asl |
Iranica adds that the judicial opinions developed by Abu Hanifa and his Kufan circle are known essentially through the works attributed to al-Shaybani. Zufar ibn al-Hudhayl, generally regarded as the fourth imam of the school after Abu Hanifa, Abu Yusuf and al-Shaybani, completes the early line. His dates are not covered here.
Because he taught both main students, he gave the whole school a unity that covered its considerable inner diversity.
Legacy
As of November 2026, the Encyclopaedia Iranica describes the Hanafi school as the largest of the four primary Sunni schools of law. Britannica says it is still widely followed in India, Pakistan, Turkey, Central Asia and Arab countries.
In Baghdad, the Abu Hanifa Mosque stands in the A’dhamiyya district, named after his epithet al-imam al-a’zam (“the great leader”). A medium-sized mosque was first built near his tomb in 375 AH (985/986 CE) by order of Samsam al-Dawla.
The four Sunni schools, Hanafi, Maliki, Shafi’i and Hanbali, are presented side by side across this site. Readers who want to see how the Hanafi view compares on a particular question can find it in the worship and finance articles. For a personal matter, a qualified scholar is the person to ask.
What the reader can take from his life
- Honest work and serious study can sit together. The sources describe a successful silk merchant who spent many years in a teacher’s circle and later led it.
- Method can be taught and checked. His reasoning was passed on in a circle and recorded by students such as Abu Yusuf and al-Shaybani, which is why scholars can still examine it and disagree with it, as Zufar did within his own school.
- Distance from office is a recurring theme in the reports. Whatever the exact dates, the accounts agree that he declined a judicial post, and Britannica says he took no direct part in court politics.
Sources
- Britannica: Abu Hanifah
- Britannica: Abu Hanifah (al-Nu’man ibn Thabit) summary
- Encyclopaedia Iranica: Abu Hanifa
- Encyclopaedia Iranica: Hanafite madhab
- Encyclopedia.com: Abu Hanifa (699-767)
- Encyclopedia.com: Abu Hanifah
- Wikipedia: Abu Hanifa
- Wikipedia: Abu Hanifa Mosque
- Wikipedia: Hammad ibn Abi Sulayman
- Wikipedia: Ibrahim al-Nakha’i
- Wikipedia: Zufar ibn al-Hudhayl
- Wikipedia: Hanafi school
- Wikipedia: Abu Yusuf
- Wikipedia: Ibrahim ibn Abdallah
- Wikipedia: Al-Mansur
Header image: illustration, AI-generated.

