From the Islamic point of view, the ultimate source of law is Allah, the Exalted. Therefore, all laws are ultimately connected to Him. Some rulings are expressly attributed to Allah and His Messenger, while others have been inferred by scholars in light of principles and rules established by the Qur’an and Hadith. These, too, may be attributed to Allah indirectly.
The difference is that the first source is infallible: when a ruling is established with certainty by the Qur’an and Hadith, there is no possibility of error in it. The second source is not infallible, because human reasoning and ijtihad—independent legal reasoning—play a part in it. Islamic jurisprudence can therefore be divided into two categories: (1) textual sources and (2) other matters derived through ijtihad.
Textual Sources
The textual sources of Islamic jurisprudence are four:
- The Book of Allah
- The Sunnah of the Messenger of Allah
- The laws of previous communities
- The reports and statements of the Companions, in matters where there is no room for ijtihad
1. The Book of Allah
“The Book of Allah” means the Noble Qur’an, which has been preserved without alteration and will remain so until the Day of Judgment.
Scholars have estimated the number of Qur’anic verses relating to legal rulings at between 250 and 500. The higher figure may include not only explicit rulings established by the Qur’an, but also rulings based on its general principles. Mulla Jiwān selected verses on this basis in Tafsirāt-e-Ahmadiyya, including 462 verses. Nawab Siddiq Hasan Khan, may Allah have mercy on him, also sought to comprehensively cover the verses of legal rulings in Nayl al-Marām, which contains 248.
The Qur’an’s legal verses concern worship, transactions and other areas of life. Sheikh Abdul Wahhab Khallaf gave the following counts for verses concerning subjects other than worship:
- Family law: 70
- Citizenship law: 70
- Criminal law and punishments: 30
- Judicial law: 13
- Constitutional law: 10
- Economic law: 10
- National and international law: 25
(ʿIlm Usul al-Fiqh, by Khallaf, pp. 31–32)
Because of the importance of legal rulings and their connection to practical life, many scholars have devoted themselves to explaining the verses that deal with rulings. Among the important works are:
- Ahkām al-Qur’ān — Imam Abu Bakr al-Jassas al-Razi, died 370 AH
- Ahkām al-Qur’ān — Abu Bakr Ahmad al-Bayhaqi, died 458 AH. This work brings together and arranges material based on the teachings of Imam al-Shafi‘i, may Allah have mercy on him.
- Ahkām al-Qur’ān — Abu Bakr Muhammad ibn al-‘Arabi, died 543 AH
- Tafsirāt-e-Ahmadiyya — Mulla Ahmad Jiwān, died 1130 AH
- Nayl al-Marām min Tafsir Āyāt al-Ahkām — Nawab Siddiq Hasan Khan, may Allah have mercy on him, died 1307 AH
- Ahkām al-Qur’ān — compiled through the joint efforts of Mawlana Zafar Ahmad Uthmani, Mawlana Idris Kandhlawi and Mufti Muhammad Shafi Uthmani, under the supervision of Mawlana Ashraf Ali Thanawi, may Allah have mercy on him. It is a detailed and comprehensive work on its subject.
- Rawā’iʿ al-Bayān fī Tafsīr Āyāt al-Ahkām min al-Qur’ān — Sheikh Muhammad Ali al-Sabuni, may Allah have mercy on him
- Tafsīr Āyāt al-Ahkām — Muhammad Ali al-Sayis, Abd al-Latif al-Subki and Muhammad Ibrahim Muhammad Karshun
In addition, Al-Jāmiʿ li-Ahkām al-Qur’ān by Abu Abdullah Muhammad al-Qurtubi, who died in 670 AH, and Al-Tafsīr al-Mazhari by Qadi Thanaullah Panipati, who died in 1225 AH, are commentaries on the entire Qur’an. However, they have a strong jurisprudential focus and discuss the Qur’an’s legal rulings at considerable length.
2. The Sunnah of the Messenger
The second source of Islamic rulings is the Sunnah of the Messenger. The Sunnah means the sayings of the Messenger of Allah, peace and blessings be upon him, his actions, and any words or actions that took place in his presence which he did not reject.
The Sunnah of the Messenger is, in essence, an explanation and clarification of the Noble Qur’an. Imam al-Shafi‘i, may Allah have mercy on him, therefore said that the Sunnah of the Prophet, peace and blessings be upon him, is of three kinds:
- A ruling found in the Qur’an is also found in the Sunnah of the Messenger.
- The Qur’an gives a ruling in general terms, and the Sunnah clarifies it.
- The Qur’an is silent on a particular matter, and its ruling is learned through the Sunnah.
(Al-Risālah, pp. 91–92, “What Allah Made Clear to His Creation of What He Obligated His Messenger to Follow from Allah’s Revelation.”)
Arabic original: باب ماابان اللہ لخلقہ من فرضہ علی رسولہ اتباع اوحی اللہ
“The chapter on what Allah made clear to His creation concerning what He obligated His Messenger to follow from His revelation.”
On reflection, even the third kind falls within the principles laid down by the Qur’an: the Qur’an states a principle, and the Sunnah shows how it applies in practice.
Hadith is of great importance from a jurisprudential perspective. The Noble Qur’an is a foundational book that sets out general rulings and defines the broad boundaries of religion. Hadith presents these Qur’anic rulings in practical form. In this way, it closes the door to those who might manipulate the meanings of the Qur’an, distort them or interpret them according to their own wishes.
Just as Allah has provided for the preservation of the Qur’an’s words through those who memorize and recite it, Hadith has helped protect its meaning from distortion and alteration. In this way, Hadith is a means of preserving the Qur’an’s meaning.
There are approximately 7,000 to 8,000 Hadith reports relating to legal rulings. Hadith collections may make the number seem larger because reports transmitted through different chains of narration are counted separately. But when repetitions are set aside and reports are counted by their essential content and wording, the number of Hadiths on legal rulings does not exceed approximately 7,000 to 8,000.
Works of Hadith relating to legal rulings take different forms. Some contain Hadiths on many subjects, including a substantial number of legal Hadiths, whether or not they are arranged by legal topic. Collections arranged according to legal topics are called Sunan.
Important works arranged by legal topics include:
- Muwattaʾ of Imam Malik — Imam Malik ibn Anas, died 179 AH
- Muwattaʾ of Imam Muhammad — Imam Muhammad ibn al-Hasan al-Shaybani, died 189 AH
- Kitāb al-Āthār — Imam Ya‘qub Abu Yusuf, died 182 AH
- Kitāb al-Āthār — Imam Muhammad ibn al-Hasan al-Shaybani, died 189 AH
- Musannaf Ibn Abi Shaybah — Abu Bakr Abdullah ibn Muhammad ibn Abi Shaybah al-Kufi, died 235 AH
- Musannaf Abd al-Razzaq — Abu Bakr Abd al-Razzaq al-San‘ani, died 211 AH
- Sunan al-Tirmidhi — Imam Muhammad ibn Isa ibn Sawrah al-Tirmidhi, died 279 AH
- Sunan Abi Dawud — Abu Dawud Sulayman al-Sijistani, died 275 AH
- Sunan al-Nasa’i — Abu Abd al-Rahman Ahmad ibn Ali al-Nasa’i, died 215 AH
- Sunan al-Darimi — Imam Abdullah ibn Abd al-Rahman al-Darimi, died 255 AH
- Sunan Ibn Majah — Imam Muhammad ibn Yazid ibn Majah al-Qazwini, died 273 AH
- Sunan al-Daraqutni — Ali ibn Umar al-Daraqutni, died 285 AH
- Sunan al-Bayhaqi — Hafiz Abu Bakr Ahmad ibn al-Husayn al-Bayhaqi, died 458 AH
There are also many Hadith collections that are not Sunan but contain numerous Hadiths on legal rulings. Among the best known and most important are:
- Sahih al-Bukhari — Imam Muhammad ibn Isma‘il, died 256 AH
- Musnad Abi Dawud al-Tayalisi — Imam Sulayman ibn Dawud al-Tayalisi, died 204 AH
- Sahih Muslim — Imam Muslim ibn al-Hajjaj al-Naysaburi, died 261 AH
- Al-Muʿjam al-Kabīr — Imam Abu al-Qasim Sulayman ibn Ahmad al-Tabarani, died 360 AH
- Sahih Ibn Khuzaymah — Imam Muhammad ibn Ishaq ibn Khuzaymah, died 311 AH
- Al-Muʿjam al-Awsat — Imam Abu al-Qasim Sulayman ibn Ahmad al-Tabarani, died 360 AH
- Musnad Imam Ahmad ibn Hanbal — Imam Ahmad ibn Muhammad ibn Hanbal, died 241 AH
- Al-Muʿjam al-Saghīr — Imam Abu al-Qasim Sulayman ibn Ahmad al-Tabarani, died 360 AH
- Musnad al-Bazzār — Imam Abu Bakr Ahmad ibn Amr ibn al-Bazzar, died 292 AH
- Al-Mustadrak — al-Hakim Abu Abdullah al-Naysaburi, died 405 AH
Some authors have also sought to bring together reports from Hadith collections, thereby including a large body of Hadiths on legal rulings. The following works are particularly noteworthy:
Jāmiʿ al-Usūl min Ahādīth al-Rasūl
This work by Ibn al-Athir brings together Hadiths from Sahih al-Bukhari, Sahih Muslim, Jamiʿ al-Tirmidhi, Sunan Abi Dawud, Sunan al-Nasa’i and the Muwattaʾ of Imam Malik.
Majmaʿ al-Zawā’id wa-Manbaʿ al-Fawā’id
This work was compiled by Hafiz Ali ibn Abi Bakr al-Haythami. He gathered additional Hadiths found in Musnad Ahmad, Musnad Abi Ya‘la al-Mawsili, Musnad al-Bazzar and the three Muʿjams of al-Tabarani, which are not found in the Six Canonical Collections. He also sought to clarify the status and grade of weak Hadiths. As a result, the work contains a very large collection of Hadiths.
Al-Jāmiʿ al-Saghīr min Ahādīth al-Bashīr al-Nadhīr
This work was compiled by Jalal al-Din al-Suyuti, may Allah have mercy on him. He collected 10,131 Hadiths, omitting their chains of transmission and arranging them alphabetically. He also used symbols to indicate the grade of each Hadith. He later gathered the Hadiths left out of this work in Al-Fath al-Kabīr, though without indicating their grades. This is a very large collection of Hadiths of various kinds. Building on it, al-Suyuti compiled Al-Jāmiʿ al-Kabīr, arranging verbal Hadiths alphabetically and action-based Hadiths according to the names of the Companions.
Jamʿ al-Fawā’id min Jāmiʿ al-Usūl wa-Majmaʿ al-Zawā’id
This work was compiled by Muhammad ibn Sulayman al-Maghribi. In addition to collecting the Hadiths in Ibn al-Athir’s Jāmiʿ al-Usūl and al-Haythami’s Majmaʿ al-Zawā’id, he included additional Hadiths from Sunan Ibn Majah and Sunan al-Darimi that are not found in the Six Canonical Collections. It brings together Hadiths from fourteen important Hadith books and has become a major encyclopedia of Prophetic Hadith.
Kanz al-ʿUmmāl fī Sunan al-Aqwāl wa-al-Afʿāl
This work was compiled by Ala al-Din Ali al-Muttaqi al-Hindi. He arranged the entire body of Hadith material by subject. It is the largest Hadith collection of its kind and contains 46,624 Hadiths and reports.
Later scholars also sought to collect only Hadiths concerning legal rulings from Hadith books, omitting the chains of transmission. Important works of this kind include:
- Al-Ahkām — Abd al-Ghani al-Maqdisi
- Umdat al-Ahkām min Sayyid al-Anām — Abd al-Ghani al-Maqdisi
- Al-Ilmām li-Ahādīth al-Ahkām — Ibn Daqiq al-‘Id
- Al-Muntaqā fī al-Ahkām — Abd al-Salam ibn Abdullah ibn Taymiyyah al-Harrani
- Bulūgh al-Marām min Adillat al-Ahkām — Hafiz Ibn Hajar al-Asqalani
- Āthār al-Sunan — Allama Zahir Ahsan Shauq al-Nimawi
- Iʿlāʾ al-Sunan — Mawlana Zafar Ahmad Uthmani, may Allah have mercy on him
A large body of Hadiths on legal rulings is also found in works that trace the Hadith reports cited in books of jurisprudence. The following are especially important and cover technical discussions related to Hadiths on legal rulings: Nasb al-Rāyah li-Ahādīth al-Hidāyah, Al-Dirāyah fī Takhrīj Ahādīth al-Hidāyah, Al-Talkhīs al-Habīr and Al-Badr al-Munīr fī Takhrīj al-Ahādīth wa-al-Āthār al-Wāqiʿah fī al-Sharh al-Kabīr.
It is worth noting that the greater part of the rulings on worship and prescribed punishments is based on Hadith. Hadith therefore holds particular importance among the sources of Islamic jurisprudence. The tireless efforts of the Hadith scholars in this field have no parallel in the history of the legal schools. The source concludes with this prayer:
Arabic original: فَجَزَاھُمُ اللہُ خَیْرالْجَزَاء
“May Allah reward them with the best reward.”
For further detail, see The Legislative Status of Hadith, The Hadith of the Messenger and Islamic Jurisprudence and Weak Hadith and the Strength of Its Evidentiary Use.
3. Reports of the Companions
The Companions received this religion directly from the Messenger of Allah, peace and blessings be upon him, and it was through them that the religion reached the entire Muslim community. The Companions were all upright, trustworthy, God-fearing and sincere. Their statements and opinions therefore hold particular importance.
Some matters allow for personal opinion and ijtihad. Other matters cannot be derived through a person’s own reasoning; they must be based on the Qur’an and Hadith. In this second category, the Hanafis and Malikis regard the opinion of a Companion as authoritative evidence, because it must have been based on something heard from the Messenger of Allah, peace and blessings be upon him. In this respect, it is treated like Hadith.
The Musannaf works of Ibn Abi Shaybah and Abd al-Razzaq give particular attention to transmitting the reports of the Companions. In modern times, Abu Abdullah Sayyid ibn Kasruwi has made a valuable contribution in this field by collecting, to the best of his knowledge, the reports of the Companions in three volumes under the title Mawsūʿat Āthār al-Sahābah. It contains 9,195 reports. The reports of the Companions are also included within Hadith literature. For more on their reports, see The Position of the Statements of the Companions in Islamic Jurisprudence.
4. Laws of Previous Communities
The religion sent by Allah through all the Prophets is one. Their teachings on belief and ethics do not differ, because their source is one. Any difference in guidance on belief or ethics would certainly be the result of human distortion or alteration.
However, the rulings governing practical life—which is the main subject of fiqh—have differed among the various religious laws, because this was required by the gradual development of human society.
Regarding the first category of teachings, Allah says:
“He has ordained for you the same religion that He enjoined upon Noah, and that which We have revealed to you, and that which We enjoined upon Abraham, Moses and Jesus: establish the religion and do not be divided therein.” (Al-Shura: 13)
Regarding the second category of rulings, He says:
Arabic original: لِکُلٍّ جَعَلْنَا مِنْكُمْ شِرْعَةً وَّمِنْهَاجًا
“For each of you We have appointed a law and a way.” (Al-Ma’idah: 48)
This raises the question of the status of rulings found in the laws of previous communities. The scholarly discussion can be summarized as follows. Rulings found in earlier scriptures fall into four categories:
- Rulings that are not mentioned in the Qur’an or Hadith. By consensus, these are not binding on this Muslim community.
- Rulings mentioned in the Qur’an or Hadith that are clearly identified as applying to an earlier community and as having been abrogated for this community. There is no disagreement that Muslims are not to act on these rulings.
- Rulings mentioned in the Qur’an or Hadith that are also clearly stated to apply to this community. By consensus, these rulings are to be followed in this religious law as well.
- Rulings that the Qur’an or Hadith mentions in connection with earlier communities, without clarifying whether they remain in force for this community. There are two views on this. One view is that they remain in force for this community; the Hanafis hold this view. The other is that they do not remain in force (Al-Ahkām by al-Amidi). In practical terms, this disagreement is not very significant, since it has probably rarely led to disagreement over an actual ruling.
Non-Textual Sources
Consensus (Ijmaʿ)
Among the legal proofs based on human reasoning, consensus is the strongest. Ijmaʿ means that, after the death of the Messenger of Allah, the qualified jurists of the Muslim community agree on a ruling. The Messenger of Allah said that this community would not agree upon an error. Thus, while an individual may err in their own ijtihad, the community is protected from agreeing collectively on something wrong.
Some rulings established by consensus are based on Hadith: a ruling was first established through a solitary report, then all the jurists agreed on it. Consensus was thereby formed on the matter, and the ruling acquired the status of a definitive and certain ruling. Other rulings are based on analogy and public interest, where ijtihad and more than one point of view are possible.
Consensus on such rulings was most often formed during the era of the Companions, because it was easier then to know the views of all the qualified jurists. In particular, Allah granted Sayyiduna Umar al-Faruq, may Allah be pleased with him, a special inclination towards collective deliberation and consultative ijtihad. As a result, relatively more consensus rulings were formed during his era.
An important work on rulings established by consensus is Kitāb al-Ijmāʿ by Allama Ibn al-Mundhir, who died in 318 AH. It mentions 765 issues on which consensus was reached. In more recent times, Sa‘di Abu Habib made an important contribution by seeking to cover all such rulings in Mawsūʿat al-Ijmāʿ. This work mentions 1,304 issues. For further detail on consensus, see Consensus of the Ummah: The Third Source of Islamic Jurisprudence.
Analogy (Qiyās)
Analogy is another non-textual source. Literally, qiyās means to make one thing equivalent to another. If the Qur’an and Hadith do not explicitly address a matter, but they address a similar matter, and the reason for Allah’s and His Messenger’s ruling on that matter is also present in the new matter, the same ruling is applied. This is called qiyās.
On reflection, analogy is not an opinion offered in opposition to the Qur’an and Hadith. Rather, it extends the scope of a ruling in the Qur’an and Hadith to cover further cases.
It is generally agreed that analogy may be applied to matters for which there is no explicit text. It is ranked fourth among the legal proofs. Hadith and analogy are both sources on which many legal rulings depend; rulings on transactions, in particular, are largely based on analogy. In this respect, analogy is a very important source. For further detail, see Qiyās: Its Reality and Necessity.
Other Sources
Besides consensus and analogy, Islamic jurisprudence also draws from other non-textual sources from time to time, including the following:
Juristic preference (Istihsān)
Istihsān means setting aside an apparent analogy in favor of a text, consensus, necessity, public interest, custom, or a less obvious but stronger analogy.
Unrestricted public interests (Masālih Mursalah)
These are interests that the Qur’an and Sunnah neither expressly recognize as valid nor declare invalid. They are considered valid if they accord with the character of the Sharia and its general guidance.
Presumption of continuity (Istishāb)
If something was established in the past, and for that reason it is also regarded as continuing to exist in the present or future, this is called istishāb in legal terminology.
Custom (ʿUrf)
A practice is called custom when people have become accustomed to a particular saying, action or omission in the affairs and transactions of life. Custom is closely connected to changes in rulings in response to changing circumstances.
Means and pathways (Dhariʿah)
Dhariʿah means a means or pathway. If something serves as a means to an obligatory or recommended act, that means is desirable; this is called “opening the means.” If something serves as a means to a forbidden or disliked act, it is blameworthy; this is called “blocking the means.” Its ruling follows the degree of the act it leads to.