Loading
Four Schools / Founder
Founder of the Ḥanafiyyah school and one of the formative imams of Sunni jurisprudence.
School
Ḥanafiyyah
Legacy
Jurisprudence, transmitted knowledge, and the enduring formation of Sunni legal method.

Biography sections
Choose a chapter to read the study in focused sections.
ʾAbū Ḥanīfah an-Nuʿmān ibn Thābit
His formation, teachers, scholarly life, public trials, and final years.
Abu Hanifa was born in Kufa in 80 AH, corresponding to 699 CE, during the caliphate of ‘Abd al-Malik ibn Marwan. Kufa was still a young city. It had been founded as a garrison settlement in the first Islamic conquests, yet by Abu Hanifa’s childhood it had become one of the most crowded intellectual and political arenas in the Muslim world. Veterans of the conquests, descendants of prominent Companions, Arab tribal groupings, Persian converts, merchants, artisans, political dissidents, Qur’an reciters, hadith transmitters, jurists, and theologians all lived within the same urban space. The city’s scholarship inherited especially strong associations with ‘Ali ibn Abi Talib and ‘Abd Allah ibn Mas‘ud, while its politics were marked by repeated opposition to Umayyad authority.
That setting matters. Abu Hanifa did not develop his method in a quiet provincial school where the available questions were few and inherited practice appeared uniform. He came of age amid disagreement. Kufa contained competing reports, rival legal memories, rapidly changing commercial arrangements, and arguments about the meaning of faith, sin, political legitimacy, human responsibility, and the attributes of God. Basra, a short journey to the south, was another center of theological controversy, populated by Kharijites, Qadarites, early Mu‘tazilites, and other movements. The questions later associated with Abu Hanifa—how revelation should be applied to new cases, how conflicting evidence should be weighed, whether grave sin expels a Muslim from faith, and whether a scholar may serve an unjust ruler—were not inventions of a sheltered theorist. They were the daily pressures of the Iraq in which he lived.1
He spent most of his life in Kufa. He traveled repeatedly to the Hijaz, above all for pilgrimage and scholarly exchange, and he appears to have spent a period away from Iraq during the last years of Umayyad rule. His final days, however, were in the new Abbasid capital of Baghdad. The arc of his life therefore ran through two dynasties: he witnessed the long decline of the Umayyads, initially welcomed the Abbasid revolution, and then came into conflict with the state that claimed to have replaced Umayyad injustice.
His personal name was al-Nu‘man and his father was Thabit. The most common extended genealogy in the sources gives his grandfather’s name as Zuta, while other reports use Marzuban, Mah, or related forms. The disagreement reflects the difficulty of reconstructing the ancestry of a non-Arab family whose names passed through several languages and later biographical conventions. Most historians accept that the family was of Persian or eastern Iranian origin, but the precise homeland is disputed. Kabul, Anbar, Nasa, Tirmidh, and other locations appear in later accounts. None can be treated as certain.
The family’s social history is equally contested. Some reports describe Abu Hanifa’s grandfather as a captive or client who entered an Arab tribal affiliation through the wala’ system. Other Hanafi authorities rejected any suggestion that the family had been enslaved and traced it instead to Persian notability. These rival genealogies tell us as much about later social anxieties as they do about the first Islamic century. By Abu Hanifa’s lifetime, what is clear is that the family was established in Kufa, economically secure, and engaged in the textile trade.
His kunya, Abu Hanifa, became so dominant that many people know little more than “al-Nu‘man” as his given name. The origin of the kunya is unknown. Later explanations connect it to devotion, an inkwell, or a supposed daughter named Hanifa, but none rests on secure early evidence. It is better to leave the question open than to turn an attractive etymology into biography.
Traditional Sunni literature later honored him as al-Imam al-A‘zam, “the Greatest Imam.” This was not a title he claimed for himself. It arose from the scale of his legal influence and from the esteem in which generations of Hanafis held him. Used carefully, it expresses reception rather than a contest in which one of the four Sunni imams must be ranked against the others.
Abu Hanifa did not begin life as a salaried scholar. He inherited or developed a prosperous business in khazz, a valuable textile usually understood as a silk or silk-blend fabric. Biographical sources portray him as an independent merchant who owned premises, employed workers, and continued to supervise trade even after scholarship occupied most of his time. His business was not an incidental detail. It gave him financial independence from rulers, exposed him to the practical disputes of an expanding economy, and allowed him to support students who lacked means of their own.
Kufa’s markets presented legal problems that could not be answered by memorizing a small set of familiar transactions. Partnerships crossed regions. Goods were ordered before delivery. Credit arrangements, agency, defects, guarantees, leases, labor, and fluctuating currencies created chains of responsibility. A jurist who understood trade from within could see where a formally valid bargain concealed exploitation, where custom clarified an ambiguous term, and where a rule suited to one transaction created hardship in another. Later Hanafi law became especially rich in commercial analysis. That development cannot be attributed to one man alone, but Abu Hanifa’s mercantile experience formed part of its earliest social setting.
The sources also use his business life to illustrate scrupulousness. One famous report says that a partner sold a defective garment without disclosing its flaw; when the buyer could no longer be identified, Abu Hanifa gave away the proceeds of the entire consignment. The details cannot be independently verified, but the story persisted because it matched a larger, well-attested picture: he treated lawful earning as a religious discipline, not simply a means of accumulation. His wealth supported his freedom, and his freedom enabled him to refuse offices and gifts that could compromise his judgment.
Popular retellings often introduce Abu Hanifa directly as a student of law. The older record is more complicated. In his youth he was deeply involved in kalam: reasoned discussion of doctrine. He learned the arguments circulating among the theological groups of Iraq and reportedly traveled to Basra on numerous occasions to debate Kharijites and others. Questions of faith, unbelief, grave sin, divine decree, human agency, and the status of the early Muslim community were already central to him before he became the leading jurist of Kufa.
The importance of this phase has sometimes been minimized by later writers uncomfortable with kalam. Yet it explains both his intellectual style and the theological legacy associated with his name. He learned to define terms, expose hidden consequences, distinguish necessary from accidental implications, and test an opponent’s proposition through carefully chosen cases. The same habits later appeared in his legal reasoning. His law was not theology in disguise, but the disciplines shared a concern for consistency and a refusal to let slogans substitute for analysis.
According to a well-known autobiographical report, Abu Hanifa eventually turned away from constant sectarian disputation and toward law because he saw that legal knowledge governed worship, family life, trade, judgment, and the ordinary obligations by which people approached God. The report should not be read as a repudiation of theology itself. Creedal positions continued to be transmitted from him, and his opponents continued to recognize him as a theological actor. What changed was his center of gravity. Jurisprudence became the work of his life; theology remained part of its foundation.
Later biographies identify ‘Amir al-Sha‘bi, the renowned Kufan scholar, as one of the people who first recognized Abu Hanifa’s unusual intelligence. The young merchant was passing through the market when al-Sha‘bi asked which scholars’ circles he attended. Abu Hanifa understood the question commercially and named the markets he frequented. Al-Sha‘bi clarified that he meant the scholars. When Abu Hanifa answered that he attended them only occasionally, al-Sha‘bi urged him not to neglect learning, saying that he saw alertness and promise in him.
Whether every line of the conversation is preserved exactly or not, the episode captures a plausible transition. Abu Hanifa was not raised from childhood inside a single specialist institution. He moved between commerce and study until the claims of knowledge became decisive. That background helps explain his later attitude toward students. He knew that scholarly ability might appear outside conventional pedigrees, and he possessed the means to free talented people from financial pressures that had once competed for his own time.
Al-Sha‘bi’s intervention also connects him to an older Kufan generation that combined hadith, law, and practical judgment. Abu Hanifa did not invent a rational school in opposition to every transmitter around him. He entered a dense local tradition in which the same scholar might preserve reports, know the verdicts of the Companions, and exercise reason when no explicit precedent settled the case.
The decisive teacher in Abu Hanifa’s legal formation was Hammad ibn Abi Sulayman, a leading jurist of Kufa and a student of Ibrahim al-Nakha‘i. Abu Hanifa remained in Hammad’s circle for approximately eighteen years according to the standard biographical account. The number may be rounded, but the length and depth of the relationship are beyond serious doubt. Abu Hanifa later spoke of Hammad with filial affection and named his own son Hammad.
The legal memory associated with this circle ran through Ibrahim al-Nakha‘i to the students of ‘Abd Allah ibn Mas‘ud, especially ‘Alqama ibn Qays and al-Aswad ibn Yazid. Later Hanafis sometimes presented the sequence as a single pristine chain: Ibn Mas‘ud, then ‘Alqama, then Ibrahim, then Hammad, then Abu Hanifa. It is a meaningful intellectual genealogy, but the historical reality was wider. Each figure learned from multiple teachers, and Kufa contained many interacting circles. Abu Hanifa inherited a regional legal conversation, not a sealed packet of opinions passed unchanged from one man to the next.
A revealing story describes Hammad leaving Abu Hanifa in charge of the circle while he traveled to Basra. Abu Hanifa answered sixty questions during his absence and recorded his responses. When Hammad returned, he agreed with roughly two-thirds and corrected the remainder. Abu Hanifa concluded that he should not separate from his teacher while Hammad lived. Whatever precision one assigns to the numbers, the lesson is clear. Intellectual confidence did not prevent him from discovering the limits of premature independence. His later authority grew out of long apprenticeship, correction, and loyalty.
When Hammad died in 120 AH / 737 CE, Abu Hanifa was about forty. He then assumed the leading place in the circle. This is a strikingly late beginning for the public career of a man whose name would define a school. He had spent decades trading, debating, studying, and observing before becoming the teacher around whom others gathered.
Hammad was central, but he was not Abu Hanifa’s only teacher. Pilgrimage brought scholars from across the Muslim world into contact, and Abu Hanifa used repeated journeys to Mecca and Medina to hear hadith, compare legal judgments, and meet authorities outside Iraq. ‘Ata’ ibn Abi Rabah, the great Meccan jurist, occupies an important place in the lists of his teachers. Reports also connect him with Nafi‘, the client of Ibn ‘Umar; Qatada ibn Di‘ama; ‘Ikrima; and a broad range of Kufan and Hijazi transmitters. The exact teacher lists in later manaqib works expand dramatically and should not be accepted item by item without criticism, but the diversity of his learning is credible.
He also encountered members of the Prophet’s family and scholars associated with different Shi‘i currents. Relations with Zayd ibn ‘Ali are historically significant. Abu Hanifa admired Zayd’s knowledge and later supported his revolt against Umayyad rule, but modern research does not support the popular claim that he spent two full years as Zayd’s formal disciple. Reports connecting him to Muhammad al-Baqir and Ja‘far al-Sadiq likewise deserve measured treatment. Contact or exchange is plausible; elaborate stories that subordinate one figure entirely to another often reflect later sectarian apologetics.
The breadth of these contacts undermines any picture of Abu Hanifa as a jurist enclosed within a purely “rationalist” camp. He heard transmitters, engaged theologians, learned from jurists of different tendencies, and knew the legal positions of the Prophet’s family. His independence consisted in weighing this material through a coherent method, not in refusing to learn from anyone outside his circle.
Abu Hanifa was born while a small number of the Prophet’s Companions were still alive. Later Hanafi authors therefore counted him among the Tabi‘un, the generation that met the Companions. Anas ibn Malik is the Companion most often said to have been seen by him, and additional names appear in expanding lists. The historical issue is narrower than the devotional debate sometimes suggests.
It is possible that a child or young man living in Iraq or visiting the Hijaz saw an elderly Companion. Seeing, studying, and transmitting are different claims. The strongest modern biographical assessments allow that Abu Hanifa may have seen one or more Companions, especially Anas, while finding no secure evidence that he received a sustained course of instruction from them. His mature learning belonged to the generation of the younger Successors and the followers of the Successors.
Nothing essential in his stature depends on resolving the label in the most expansive direction. His authority arose from demonstrated juristic mastery, not from a disputed technical classification. A careful biography can honor the traditional report while refusing to build fabricated chains of direct transmission upon it.
After Hammad’s death, Abu Hanifa’s circle became one of Kufa’s major centers of legal thought. It did not function like a modern lecture in which a professor reads conclusions to silent students. A question was introduced, evidence recalled, analogies tested, objections raised, and consequences examined. Senior pupils could disagree openly. Some questions remained under discussion for days. A position acquired authority through deliberation before it was recorded or used as the basis for further reasoning.
Later accounts speak of a council of forty specialists, including experts in hadith, Qur’anic interpretation, language, calculation, commerce, and law. The exact number and formal organization may be idealized, but the collaborative character of the circle is well supported by the earliest Hanafi literature. Abu Yusuf and Muhammad al-Shaybani did not transmit Abu Hanifa as passive copyists. Their books preserve agreements, disagreements, revisions, and alternative arguments. The school’s foundational texts show a living workshop.
This method protected the circle from the limitations of a single mind. A commercial specialist could identify an unrealistic assumption. A transmitter might recall a relevant report. A jurist could demonstrate that an analogy produced an unacceptable result in another chapter. Abu Hanifa’s genius lay partly in directing this collective intelligence: asking the question sharply enough, distinguishing the real point of dispute, and preserving coherence across hundreds of related cases.
The circle also trained judgment rather than memorization alone. Students learned how a ruling was made, where its evidence was strong, what exceptions qualified it, and why another jurist might reasonably disagree. This helps explain why Abu Hanifa’s two greatest transmitters could depart from him without ceasing to be Hanafi. The method generated jurists, not custodians of a frozen answer key.
Abu Hanifa and his students became famous for discussing cases that had not yet occurred. Opponents mocked this as speculative law. In an urban commercial society, however, anticipating disputes was a form of responsibility. A legal system that waits until harm occurs before clarifying rights leaves judges and ordinary people without guidance. Hypothetical reasoning allowed the circle to identify principles, test their boundaries, and prepare for new arrangements.
The technique had another intellectual advantage. Real litigants often omit facts, exaggerate, or frame events in self-serving language. A hypothetical case can isolate one variable at a time. What changes if possession has passed but payment has not? Does liability follow ownership, control, fault, or contractual undertaking? Would the same principle apply to a deposit, a lease, and a partnership? By varying the facts, the jurist discovers what actually drives the rule.
This did not mean that every imaginable puzzle deserved endless attention. Reports attributed to Abu Hanifa criticize questions detached from human need. His mature method joined foresight to practical relevance. The aim was not cleverness. It was to make the law intelligible before power, money, and conflict distorted the facts.
Even after his circle grew, Abu Hanifa maintained commercial activity through partners. This arrangement preserved an unusual degree of independence. He could teach without charging students, give support to scholars, and refuse government patronage. The market also kept him close to the people whose transactions jurists discussed. His legal imagination was not formed solely by court disputes brought after relationships had collapsed.
Biographers describe him purchasing goods for scholars and giving them the annual profit, telling them to use it for their needs and thank God rather than him. The moral point is more important than the exact form of each story. He understood that poverty can silence intellectual talent. Supporting a student was therefore not private charity alone; it was an investment in the independence of learning.
His wealth also made his refusals politically credible. A destitute scholar may decline office yet remain vulnerable to pressure through basic need. Abu Hanifa could absorb financial loss and continue. That security did not make resistance painless—imprisonment and physical coercion were still real—but it narrowed the state’s leverage over him.
The late Umayyad period in Iraq was marked by rebellion, severe repression, and shifting alliances. Abu Hanifa’s sympathies lay with the Prophet’s family and with claims of just rule, though he did not adopt a single revolutionary program throughout his life. The clearest episode of direct confrontation came under Yazid ibn ‘Umar ibn Hubayra, the Umayyad governor of Iraq.
Ibn Hubayra offered him a public office, often identified as a judicial or administrative post, and demanded that he authenticate official documents or accept responsibility within the government. Abu Hanifa refused. The governor understood refusal as political disobedience, not personal modesty. Reports state that he was flogged or otherwise punished and then released after influential people intervened. Abu Hanifa left for the Hijaz and remained there until the Abbasid victory.
The precise title and sequence vary across sources, but the core is consistent: the state sought the legitimacy of a respected jurist; Abu Hanifa would not lend it. His objection was not that all public service was inherently unlawful. Students of his later served as judges. The issue was whether accepting a post under conditions of coercion and injustice would make the scholar an instrument of acts he could neither prevent nor approve.
In 122 AH / 740 CE, Zayd ibn ‘Ali rose against the Umayyad caliphate. Abu Hanifa supported him financially and compared his uprising, in moral seriousness, to the Prophet’s struggle at Badr. He did not join the fighting, reportedly citing obligations or entrusted property, but his support was not secret neutrality. It exposed him to political danger and connected his legal conscience to the claims of the Prophet’s household.
This episode needs protection from two opposite distortions. Sectarian narratives sometimes turn Abu Hanifa into a formal disciple of Zayd and absorb him into a later Zaydi identity. Other accounts reduce his support to vague sympathy so that the imam appears politically quietist. The evidence points between them. He was a Sunni jurist with a distinct theology and law, yet he regarded Zayd as learned and justly aggrieved and considered resistance to Umayyad oppression legitimate in that circumstance.2
His later support for the Hasanid brothers Muhammad al-Nafs al-Zakiyya and Ibrahim during their revolt against the Abbasids shows that his commitments were not tied to hostility toward one dynasty alone. When a government that had invoked the rights of the Prophet’s family became coercive in its own turn, he opposed it as well.
Like many opponents of the Umayyads, Abu Hanifa appears initially to have welcomed the Abbasid revolution of 132 AH / 750 CE. The new dynasty promised rule in the name of the Prophet’s family and benefited from the support of constituencies alienated by Umayyad hierarchy. Abu Hanifa returned to Kufa after years in the Hijaz. The hope did not last.
Abbasid power quickly became dynastic and increasingly centralized. The caliph al-Mansur founded Baghdad, controlled appointments, and dealt harshly with rivals, including members of the wider Hashimite family. Abu Hanifa supported the claims of Muhammad al-Nafs al-Zakiyya in Medina and his brother Ibrahim in Basra when they rebelled in 145 AH / 762 CE. Reports attribute to him financial aid, encouragement, and legal opinions favoring their cause. Later polemics about his “heresy” were entangled with this political history; criticism of his theology and legal method cannot always be separated from hostility toward a scholar associated with rebellion.3
His position was not romantic enthusiasm for every revolt. Armed opposition in early Islam had repeatedly produced catastrophe, and Abu Hanifa knew Kufa’s record of abandoned leaders. His support reflected a judgment about legitimacy and injustice, not a general doctrine that upheaval is preferable to order. The distinction is essential. He refused to make stability the highest political virtue when stability required endorsing oppression, but he did not treat bloodshed lightly.
Al-Mansur sought to draw Abu Hanifa into the Abbasid order by offering him judicial office, often described as the chief judgeship. Abu Hanifa declined. The famous exchange preserved in several forms has the caliph accuse him of lying when he says he is unfit. Abu Hanifa responds that if he is lying, a liar is unfit to judge; if he is telling the truth, his refusal should be accepted. The polished dialogue may have been sharpened in transmission, but it expresses his characteristic use of an opponent’s premise to expose a contradiction.
Why did he refuse an office that his student Abu Yusuf would later hold? Personal temperament explains little. Abu Hanifa believed that a judge required independence to rule against the powerful, including the caliph. Under al-Mansur, he had no confidence that such independence would be respected. Appointment would place his reputation at the service of the state while responsibility for unjust outcomes remained before God.
The refusal also demonstrates that Hanafi political history cannot be reduced to one permanent attitude toward government. Abu Hanifa resisted incorporation; Abu Yusuf later entered the highest judicial office and used it to shape administration. Both choices could be defended as attempts to preserve justice under different circumstances. The school inherited a tension rather than a slogan: scholars must neither sanctify power nor abandon the public realm without considering what their presence might prevent or achieve.
Al-Mansur did not accept refusal as a private matter. Abu Hanifa was imprisoned in Baghdad and subjected to pressure, which biographical sources describe as beating, public humiliation, or repeated demands that he accept office. Some accounts say he continued teaching in prison. Others say he was eventually released but confined to his house and forbidden to issue legal opinions. Reports that he was poisoned are early enough to deserve mention, yet the manner of his death cannot be established with certainty.
He died in 150 AH / 767 CE, around the age of seventy by the lunar calendar. The safest conclusion is that he died in Baghdad after coercion and imprisonment arising from his refusal to serve al-Mansur’s government. Whether death occurred inside the prison, shortly after release, or by deliberate poisoning remains disputed.1
Later tradition preserves a final protest in the place he chose for burial. Abu Hanifa is said to have requested ground that al-Mansur had not seized unlawfully. When the caliph heard this, he lamented that Abu Hanifa would not leave him alone even in death. The exchange cannot be verified as stenographic history, but it captures how Muslims remembered the conflict: a ruler could confine the jurist’s body, yet could not compel his moral endorsement.
Abu Hanifa was buried in Baghdad in the area later known as al-A‘zamiyya, named for him. Reports describe an immense funeral and repeated funeral prayers because of the number of mourners. Specific totals—tens of thousands attending, or the prayer repeated a fixed number of times—belong to the language of medieval commemoration and cannot be checked. The broad fact of a large public response is plausible. He was already the most influential jurist of Kufa, a wealthy patron, a teacher with students across the eastern Islamic lands, and a victim of the caliph’s coercion.
A shrine and mosque developed near his grave over subsequent centuries. The site was rebuilt more than once and became one of Baghdad’s enduring landmarks. For Hanafis, it represented more than the resting place of a school’s eponym. It marked the cost of scholarly independence and linked Baghdad, the imperial center that had imprisoned him, to a legal tradition that would outlive the dynasty.
His death did not close his circle. Abu Yusuf, Muhammad al-Shaybani, Zufar ibn al-Hudhayl, al-Hasan ibn Ziyad, and other students carried forward its disputes and conclusions. Within decades, men trained in or connected to the circle were serving as judges, composing books, and teaching from Iraq to Khurasan. The state that failed to secure Abu Hanifa’s personal service would eventually administer large parts of its law through his students’ tradition.
Abu Hanifa’s biography comes from several kinds of writing. Early historical chronicles record political events. Biographical dictionaries preserve assessments from jurists and hadith critics, including both praise and hostility. Hanafi manaqib works defend his piety, learning, and orthodoxy. Theological texts transmit positions under his name, although their authorship and textual history differ. His students’ legal books provide the most concrete evidence for the kind of reasoning practiced in his circle.
These sources should not be flattened into a single level of certainty. The merchant, the long apprenticeship under Hammad, the Kufan teaching circle, the major students, the political refusals, and the death under Abbasid coercion are well established. A specific conversation, miraculous prediction, exact number of teachers, or fixed count of nightly recitations may preserve a moral memory without preserving a verifiable event.
Critical reading does not diminish Abu Hanifa. On the contrary, it reveals a figure more compelling than the flawless hero of formulaic praise. He revised judgments, learned through correction, made politically dangerous choices, attracted serious criticism, and founded no institution by decree. His authority endured because students found his reasoning fertile, communities found his law workable, and later theologians recognized in his teachings a path between sectarian exclusion and intellectual surrender.
Umar Faruq Abd-Allah, “Abu Hanifa,” Encyclopaedia Iranica, remains one of the most useful critical English biographies. It synthesizes early chronicles, biographical dictionaries, Hanafi manaqib, and modern scholarship while clearly identifying disagreements in the sources. See also Merlin Swartz, “Hanafite Madhhab,” Encyclopaedia Iranica. ↩ ↩2
Eren Gündüz, “The Relationship Between Abu Hanifa and Zayd ibn ‘Ali: An Assessment in the Context of an Account in al-Majmu‘ al-Fiqhi,” Ilahiyat Studies 2, no. 2 (2011): 189–213, argues that Abu Hanifa met and admired Zayd but that the claim of a two-year formal discipleship is not historically sustainable. ↩
Ahmad Khan, Heresy and the Formation of Medieval Islamic Orthodoxy: The Making of Sunnism, from the Eighth to the Eleventh Century (Cambridge University Press, 2023), especially the chapter “Politics: Rebellion and Heresy,” shows how Abu Hanifa’s political associations and support for rebellion became entangled with later accusations of heresy. ↩