From Surf Wiki (app.surf) — the open knowledge base
Hanafi school
School of Islamic jurisprudence
School of Islamic jurisprudence
The Hanafi school or Hanafism is the largest school of Islamic jurisprudence out of the four principal schools within Sunni Islam. It developed from the teachings of the jurist and theologian Abu Hanifa (), who systemised the use of reasoning (ar). Hanafi legal theory primarily derives law from the Quran, the sayings and practices of Muhammad (ar), scholarly consensus (ar) and analogical reasoning (ar), but also considers juristic discretion (ar) and local customs (ar). It is distinctive in its greater usage of ar than other schools.
The school spread throughout the Muslim world under the patronage of various Islamic empires, including the Abbasids and Seljuks. The region of Transoxiana emerged as a centre of classical Hanafi scholarship between the 10th and 12th centuries, which gave rise to the Maturidi school of theology. The Ottoman Empire adopted Hanafism as its official school of law and influenced the legal thought of the school, eventually codifying it as the ota in the 1870s.
Followers of the Hanafi school are called Hanafis, who are estimated to number around 800 million worldwide. As such, it accounts for approximately 45% of all Muslims and remains the largest Islamic school, being predominant in the Balkans, Central Asia, the Caucasus, Turkey, the Levant, and South Asia.
History
The Hanafi school emerged from the legal tradition of Kufa in Iraq, in which its eponym Abu Hanifa () resided. Iraqi jurists were known for their use of independent reasoning (ar) in deriving law. Kufa, alongside Medina and Basra, was a centre of legal activity at the beginning of the second Hijri century. Its prominent jurists included Amir al-Sha'bi, Ibrahim al-Nakha'i and Hammad ibn Abi Sulayman. The opinions of Abu Hanifa and the earlier Kufan jurists closely correspond, particularly those of al-Nakha'i. Abu Hanifa's legal doctrine, as conveyed to his students, was predominantly derived from his own instructors, chiefly Hammad. Abu Hanifa attended Hammad's study circle for approximately 20 years and inherited it upon Hammad's death.
Formative period
Abu Hanifa and his students were responsible for systemising the use of ar, of which Abu Hanifa was its "unrivalled master". According to his contemporary Shu'ba ibn Ayyash, Abu Hanifa was the "most systematic jurist of his time". His legal thought was distinct for its treatment of hypothetical scenarios, which he held would help prepare for disastrous circumstances. It was also distinct for its method of analogical reasoning (ar). Abu Hanifa would identify the normative, underlying principles of the law from the Quran, hadith and practices of Muhammad's companions, and applied these to solve unprecedented legal cases. ar and adherence to analogical consistency were defining characteristics of early Hanafis, who employed juristic discretion (ar) to depart from the results of ar when deemed appropriate. As ar enabled the treatment of multiple legal cases from a single case, it facilitated the systematic compilation of legal literature.
There is no record of legal treatises authored by Abu Hanifa. His teachings were transmitted by his disciples Abu Yusuf () and Muhammad al-Shaybani (), the last of whom was the most prolific. Later Hanafis termed the corpus of al-Shaybani as the "ar" and ascribed it an authoritative status. The students of Abu Hanifa established study circles in Baghdad, an emerging hub of cultural activity and the seat of the Abbasid Caliphate. The school won the support of the centralising Abbasid state, which sought to unify the legal system. The Abbasids' preference for appointing Hanafi judges assisted in spreading the school. Abu Yusuf served as a judge in Baghdad; the Abbasid caliph Harun al-Rashid () later appointed him as the chief judge. By the time of al-Shaybani's death, the school had spread to Egypt and Balkh in Tokharistan.
ar dialectics involved the interlocutors exploring a series of hypothetical legal cases to delineate the limits of legal assumptions. In practice, it led Hanafis to favour widely accepted hadith, particularly those which enshrined general principles that were applicable to other cases. When the widespread collection of hadith led to the circulation of reports that contradicted Hanafi positions, the Hanafis prioritised those that were acted upon by the Iraqi legal tradition. Reports supported by Iraqi juristic practice were deemed more authoritative than those which were not. Abu Yusuf and al-Shaybani separately authored works named Kitab al-Athar (), which sought to ground Hanafi teachings in the precedent of the early Kufan jurists and the Kufan companions of Muhammad, notably Abd Allah ibn Mas'ud and Ali. Abu Hanifa himself is known to have used hadith; in Abu Yusuf's Ikhtilaf Abi Ḥanifa wa-Ibn Abi Layla, which lists cases where Abu Hanifa differed with his contemporary Ibn Abi Layla, Abu Hanifa is quoted as citing a hadith in around 10% of the cases presented, but cites narrations attributed to Muhammad's companions more often.
In contemporary external sources, members of the nascent school were described as the ar ("companions of Abu Hanifa") and the ar ("companions of ar"). Early Hanafi doctrine was attacked by the traditionists, who accused Hanafis of preferring their ar to hadith. The traditionists primarily found objectionable the Hanafi practice of sometimes favouring ar over hadith that were not widely transmitted (ar). The identification of Hanafis with the ar in contradistinction to the traditionist ar strengthened during the resurgence of the latter following the Mihna. Al-Shafi'i (), too, critiqued the Hanafis' treatment of hadith and their claim that their positions reflected those of the Kufan companions of Muhammad. He further argued that ar was subjective, which later led to classical Hanafi legal theorists articulating it as being completely dependent on the primary sources of law.
Classical period
During the 9th century, the Hanafi school transitioned from a "personal school" centered around individual jurists and their study circles to a distinct legal community with a collectively recognised doctrine and authoritative figures. By the end of the century, the school resembled a professional body with a doctrine that was systematically transmitted from teachers to students, maturing into its classical form. Hanafis began to write commentaries on earlier works; until the 12th century, these were mostly on the works of al-Shaybani. Al-Quduri ()'s legal primer ar was the classical school's first work of the ar genre and the most authoritative after that of al-Shaybani.
Criticism from the traditionists led to the Hanafis grounding their positions in hadith over the 9th century. Some Hanafis moved towards using the traditionists' method of hadith criticism to justify the school's positions, such as the Egyptian jurist al-Tahawi (). Nonetheless, the classical legal theorists focused on formulating a Hanafi approach to hadith criticism that emphasised a hadith's acceptance by early jurists, with transmitter analysis taking a secondary role.[[File:Kanz al-daḳāʼik = Treasury of intricacies - DPLA - da273d1d1ba56cc98f89f5a8af6f9f80 (page 355).jpg|thumb|Manuscript of ar, a legal work by Transoxianan jurist [[Abu al-Barakat al-Nasafi]] ()]]During the 9th century, the Hanafi school also emerged as the prevailing school in Transoxiana and Tokharistan. The school was introduced to Transoxiana by the students of Abu Hanifa and al-Shaybani, but became prevalent under the Samanids, during whose rule Hanafi scholars received official favour. The Transoxianan Hanafi tradition was highly influential in defining the doctrine of the later school. Works authored by Transoxianan jurists and accorded a high status in later Hanafi tradition include:
- The jurisprudential work of al-Sarakhsi (), known as ar, as well as his legal commentary ar.
- The ar of Burhan al-Din al-Marghinani (), which is considered the most authoritative representation of the early classical school.
- ar, a large legal commentary by Ala al-Din al-Kasani (). The intellectual descendants of al-Sarakhsi and his teacher, Abd al-Aziz ibn Ahmad al-Halwani (), eventually became the primary branch of the Transoxianan tradition. For 300 years after al-Sarakhsi, the Halwani-Sarakhsi branch constituted almost all of the major jurists engaged in rule-formulation{{Efn|Younas cites Talal al-Azem's definition of rule-formulation: the "granting of preponderance to some opinions [within the school] over others."|group=lower-alpha}} (ar) within the school, and dominated the process. The process contributed to the stabilisation of the school's laws. The branch also popularised the doctrine of the ar: that the opinions transmitted from the school's founders command the highest level of authority within the school.
In the 10th century, the Hanafi theologian Abu Mansur al-Maturidi () developed a ar tradition that crystallised into the Maturidi school of theology, which had descended directly from the theological views of the earliest Hanafis. Due to philosophical differences, the Transoxianan Maturidis disagreed with the Mu'tazilite strain of Iraqi Hanafis on several technical points of legal theory, but saw limited success in expunging the Mu'tazilite influence.
The Oghuz Turks who founded the Seljuk Empire became attached to the Transoxianan Hanafi tradition. The Seljuks favoured these eastern Hanafis and appointed them to various official positions in their new territories, encouraging their migration out of Central Asia. During the Seljuk expansion of the 11th and 12th centuries, the Hanafi and Maturidi schools spread westward into Syria, Anatolia and western Persia. In Syria and Iraq, the Central Asian scholars brought with them an increased emphasis on the ar. Hanafi migration out of Central Asia accelerated during the Mongol invasions, which ravaged the region.
Mamluk period
During the 13th and 14th centuries, the Mamluk Sultanate saw an influx of Hanafi scholars from Anatolia and Central Asia. Discussions of Islamic logic and ar in the Mamluk jurisprudential literature reflect the influence of Central Asian scholars.
Criticism of the Hanafi approach to hadith prompted Mamluk Hanafi scholars to treat the subject in more detail. In his legal commentary ar, the Mamluk jurist Ibn al-Humam () engages with the traditionists' approach to hadith criticism, and attempts to navigate the associated legal consequences. His approach to hadith influenced later Egyptian and Syrian Hanafi scholars. This "Egyptian school" of Hanafi hadith criticism referenced hadith from the hadith collections instead of Hanafi legal works, and employed the traditionists' terminology to assess their authenticity.
Mamluk jurists faced difficulties in interpreting the plurality of legal opinions that had accrued in the school. In his work ar, the Mamluk jurist () developed and detailed the process of rule-determination, clarifying the role of precedent and enabling other jurists to engage in the process themselves, and thus determine the applicable legal ruling for a given case. It marked a shift in the material consulted by muftis from the primary literature of the school to its secondary literature, comprising legal commentaries and compendia which contained rulings.
Ottoman era

The Ottoman Empire adopted the Hanafi school as their official legal school. The Ottomans established an extensive network of madrasas to train jurists, with the most prestigious located in the capital Constantinople. By the 16th century, the Şeyḫülislâm emerged as the chief imperial religious and judicial authority. The Şeyḫülislâm was appointed by the sultan and presided over the imperial canon, a collection of legal texts that the imperial religious hierarchy was required to consult. Many jurists from Arab provinces of the empire were critical of the imperial canon, partly because of its inclusion of later works which they judged as contradicting the preferred opinions (ar) of the school. The sultans influenced the formation of the imperial religious hierarchy by appointing muftis directly and through the Şeyḫülislâm, delineating the range of legal opinions in the Ottoman Hanafi tradition. Members of the imperial religious hierarchy were described as "ar". Intellectual genealogies (ar) authored by the imperial religious hierarchy aimed to demarcate the institution, situate themselves and their endorsed works in the broader Hanafi tradition and construct an unbroken intellectual chain to Abu Hanifa.
Hanafi law co-existed with the ar (dynastic law), decrees and edicts promulgated by the sultans. The ar often reaffirmed religious laws; in other cases, it authorised actions that the jurists opposed, such as torture. The Şeyḫülislâm would sometimes request sultanic edicts to require the imperial religious hierarchy to enforce particular rulings of the school. The Maʿrūḍāt of the Şeyḫülislâm Ebussuud Efendi (), a collection of fatwas endorsed by Suleiman I, contained sultanic edicts and was frequently referenced in later Hanafi works which considered its opinions binding. Late Hanafis believed that judges could act as deputies of the sultan who could thus regulate, inter alia, the legal opinions judges could reference, such as in the case of inter-school disputes. In the 17th and 18th centuries, Hanafi jurists began to incorporate sultanic edicts into authoritative legal works.[[File:Mecelle-yi ahkâm-i adliye - 1305.pdf|thumb|page=171|A page from the [[Ottoman Turkish]] edition of the ota]]
Ibrahim al-Halabi ()'s legal manual ar was among the most popular in the empire and was the subject of over 70 commentaries. By the 19th century, it had become the standard legal textbook. Other popular Ottoman manuals were the ar of Molla Hüsrev () and al-Durr al-Mukhtar of Haskafi. The ar of the late Arab Ottoman jurist Ibn Abidin () is considered an authoritative and representative work of the late Hanafi tradition. It lists most opinions within the school and their level of authoritativeness, incorporating most primary Hanafi sources produced until its writing. It employs legal devices such as necessity (ar) to depart from the canonical ar where necessary to ensure the continued relevancy of the school, and references sultanic edicts to revise the school's opinions.
Between 1869 and 1877, the Ottomans promulgated the ota, a codification of Hanafi jurisprudence. The ota was drafted by a committee led by the jurist Ahmed Cevdet Pasha, who had successfully argued against the implementation of the Napoleonic Code. It drew from the Hanafi literature on legal maxims (ota) and to a great degree favoured the opinions of the late Hanafi tradition. Many of its articles were fully or partially derived from al-Halabi's ar. However, the ota also marked the state's assumption of control over jurisprudence, which had previously been the purview of the decentralized juristic community.
Indian subcontinent

The Hanafi school spread to India from Transoxiana and eastern Persia. To consolidate control over his realm, the Mughal emperor Awrangzib () ordered the compilation of Hanafi ar. Completed between 1664 and 1672, the resulting ar selected legal opinions from earlier Hanafi legal works and is modelled after the ar of al-Marghinani.
During the colonization of India, the East India Company sought to create a "complete digest of Hindu and Mussulman law" to eliminate legal pluralism. The resulting Anglo-Muhammadan law was based in part on a translation of al-Marghinani's ar, which was chosen for its brevity and its belonging to the Hanafi school, which most Indian Muslims followed. Consequently, the ar was effectively codified and severed from the Hanafi commentarial tradition under which it was traditionally interpreted.
In the 19th century, the Barelvi and Deobandi movements emerged in India. Their legal views included strict adherence (ar) to a legal school in contradistinction to the Ahl-i Hadith movement, and emphasised the importance of hadith. The Deobandi acceptance of Ibn al-Humam's approach to hadith criticism culminated in the ar of Deobandi scholar Zafar Ahmad Usmani (), a work that attempts to justify Hanafi positions using hadith.
Demographics

Today, the Hanafi school is the largest Islamic school of law, numbering more than 800 million and constituting around 45% of all Muslims. It is the predominant school in the former Ottoman territories, including Albania, Azerbaijan, Bosnia, Turkey, and much of the Levant. It is also predominant amongst Pomaks in parts of Bulgaria and Crimea amongst Crimean Tatars. The South Asian Muslim populations in Afghanistan, Pakistan, Bangladesh, Nepal, India and, in Myanmar (amongst Rohingya Muslims), adheres to the Hanafi school. Egypt is a mix of the Hanafi, Maliki and Shafi’i schools.
The Eurasian regions of Caucasus specifically Western: (Adygea, Kabardino-Balkaria, Karachay-Cherkessia) and also in Eastern (Dagestan amongst Nogais) are also mainly Hanafi. The Russian Muslim minority in Tatarstan amongst Volga Tatars, Bashkortostan amongst Bashkirs are Hanafis. Northern Cypriot Muslims predominantly follow the Hanafi school. Central Asian countries such as Kazakhstan, Kyrgyzstan, Uzbekistan, Turkmenistan and Tajikistan, practice Hanafi jurisprudence; so do the Muslim Uyghur minority in Xinjiang, China, and the Muslim Baloch minority in southeastern Iran. Missionary activates of the Tablighi Jamaat have promoted the Hanafi school throughout Africa, especially in Somalia, and South Africa. It is one of two dominant schools of thought practiced among Muslims in the United States, the other one being Shafi'i.
The Ottoman Mecelle was repealed by most post-Ottoman states over the first half of the 20th century. Parts remained in force in Jordan and Israel until the 1970s. Where it is dominant, the Hanafi school is followed in religious observance and, in some regions, continues to govern Muslim family law.
Legal theory
The legal theory (ar) of the Hanafi school recognises the following sources of law, listed in order of epistemic authority: the Quran, the practices and sayings of Muhammad (ar) as documented in the hadith, consensus of opinion (ar), ar, ar and local customs (ar). Texts with equal epistemic authority may modify each other; if they are of differing levels, the text with the weaker epistemic authority is rejected in favour of the stronger one.
Quran
The Quran is the primary source of Hanafi law. In Hanafi legal theory, it is considered acceptable to adduce non-canonical Quranic readings related by the companions of Muhammad as legal evidence, but they are not treated as part of the Quranic text. For example, classical Hanafi jurists are known to have cited the non-Uthmanic reading of Ibn Mas'ud but treated it akin to an exegetical gloss.
Hadith
The Hanafis categorise hadith as mass-transmitted (ar), famous (ar) or solitary (ar) depending on the nature of their chain of transmission (ar):
- A ar hadith is transmitted by such a large number of people on each level of its ar that it is impossible for it to have been forged. It imparts epistemically certain knowledge about the ar.
- A ar hadith is transmitted by a limited number of people at the first level of its ar but was widely acted upon by jurists, beginning with their first generations. It imparts epistemically near-certain knowledge about the ar.
- An ar hadith, also known as a "singular report" (ar), is one which is neither ar nor ar. Only ar and ar hadith may abrogate a Quranic verse, whether by replacing, qualifying or restricting its understanding. An ar hadith cannot be adduced in legal discussions of "great importance" as Hanafis assume that God would have ensured the reliable transmission of critical religious knowledge; nor can it be used if its early transmitters did not act upon it, as Hanafis assume that their inaction indicates that it is not part of the ar.
{{Transliteration|ar|Ijma}}
ar refers to the consensus of opinion. ar may be explicit, with all mujtahids agreeing verbally or through actions, or tacit, where some express an opinion while others remain silent. In the Hanafi view, tacit ar can only establish a concession (ar) rather than a strict rule (ar). The Hanafis believe that the companions of Muhammad reached ar on some matters, and some Hanafis regard agreement between Abu Bakr and Umar, the first two Rashidun caliphs, as being ar.
''{{Transliteration|ar|Qiyas}}''
ar, also referred to analogical reasoning, involves extending a ruling on an original case (ar) to a subsidiary case (far) where both cases share an effective cause (illah). For example, because of the prohibition of usury, it is forbidden to exchange wheat and other commodities for each other unless the transaction is immediate and the amount of both goods are equal. Hanafis extend this prohibition to apples through ar, as they identify the underlying illah as the exchange of a measurable commodity, and apples are measurable.
Compared to the other Sunni and Shia schools of law, Hanafis use ar more extensively and grant it greater authority. However, it is deemed a last resort only to be used when no ruling can be derived from the Quran, ar and ar. Hanafis view ar as a means of revealing pre-existing implicit rulings within the law rather than as a source of new rulings. Because the law is viewed as coherent and internally consistent, a valid ar must accord with the internal rationality of the law.
If a ruling derived from ar conflicts with that from an ahad hadith, the Hanafis disagree on which takes precedence. One group argues that the ar hadith always takes precedence, while a second group, led by Isa ibn Aban (), opine that it only takes precedence if transmitted by a companion of Muhammad known to be a jurist. In general, the early classical school always followed hadith transmitted by jurist-companions regardless of its correspondence with ar, but followed hadith transmitted by non-jurist companions only if it corresponded with a possible ar, and thus accorded with the internal rationale of the law. By the Ottoman period, however, the distinction had become less popular and non-jurist companions were largely treated the same as jurist companions.
The Hanafis require the original case to not directly state the illah. The illah must be deduced by other means*.* If the illah is stated, then the ruling is applied to other cases via the "indication of the text" (dalalat al-nass), not ar. ar is an exercise in linguistic interpretation rather than analogical reasoning.
''{{Transliteration|ar|Istihsan}}''
ar refers to juristic discretion. The Hanafi jurist al-Sarakhsi () describes it as a means through which a jurist can depart from a ruling derived through ar to ameliorate hardship, where the new ruling is typically supported by a superior proof, such as the Quran, ar, necessity (ar) or an alternative ar. For example, by way of necessity, the Hanafi jurists allow a son to buy food or medicine for his ill father from the father's property without his prior permission. Hanafi ar based on necessity is, however, less broad than Maliki ar based on public welfare (ar).
ar emerged out of concerns among Hanafis that unrestrained ar could lead to results that were absurd or contradicted the ar. The earliest Hanafis, including Abu Hanifa and al-Shaybani, more frequently used ar justified by subjective and pragmatic reasoning rather than on evidential grounds. Their use of ar sought to change the scope or outcome of a ruling due to its potential effects. More often than not, they deployed ar in a way that cannot be considered as ameliorating hardship, such as establishing the liability of a group of thieves involved in theft even if only one of them carried the stolen goods. Subjective ar declined due to attacks from al-Shafi'i, and Hanafi legal theorists would systemise it into the form eventually espoused by al-Sarakhsi, attempting to incorporate elements of subjectivity into the definition of necessity.
''{{Transliteration|ar|Urf}}''
ar refers to customary practices. The Hanafis consider it as an ancillary source of law that is subordinate to the primary sources of law. ar is divided into two types: general (ar) and special (ar). A general ar refers to a customary practice that is widely accepted among a people regardless of the time period. As part of ar, the Hanafis permit favouring general ar over a ruling derived through ar. A special ar is more local and is upheld by a particular location or profession. Most Hanafis agree that special ar cannot qualify the general meaning of a textual evidence (ar), and that a ruling derived from ar takes precedence over special ar, although there is some disagreement on this. Turkish academic Ali Bardakoğlu suggests that the emphasis given to ar in Hanafi legal theory can partly explain the spread of the school among disparate non-Arab groups.
List of Hanafite scholars
References
Notes
Citations
Bibliography
-
Branon Wheeler, Applying the Canon in Islam: The Authorization and Maintenance of Interpretive Reasoning in Ḥanafī Scholarship (Albany, SUNY Press, 1996).
-
Dudgeon, Hamza (2022). "The Hanafis". In Leaman, Oliver (ed.). Routledge Handbook of Islamic Ritual and Practice. Routledge. pp. 65–89. .
-
Behnam Sadeghi (2013), The Logic of Law Making in Islam: Women and Prayer in the Legal Tradition, Cambridge University Press, Chapter 6, "The Historical Development of Hanafi Reasoning".
-
Nurit Tsafrir (2004), The History of an Islamic School of Law: The Early Spread of Hanafism (Harvard, Harvard Law School, 2004) (Harvard Series in Islamic Law, 3).
-
El Shamsy, Ahmed (2013). The Canonization of Islamic Law: A Social and Intellectual History. Cambridge University Press. .
-
Ayoub, Samy A. (2019). Law, Empire, and the Sultan: Ottoman Imperial Authority and Late Hanafi Jurisprudence. Oxford University Press. .
-
Burak, Guy (2015). The Second Formation of Islamic Law: The Hanafi School in the Early Modern Ottoman Empire. Cambridge University Press. .
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Hanafi school — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report