Ijtihad is the wider activity: the jurist's full effort to reach a ruling from the evidence. Qiyas (analogy) is one method inside that effort: extending the ruling of a case in the texts to a new case that shares its underlying cause. Every qiyas by a jurist is a kind of ijtihad, but ijtihad is not limited to qiyas.
- Ijtihad: exerting one's utmost effort to find a ruling; it includes understanding texts, weighing evidence and applying general principles.
- Qiyas: carrying a text-based ruling to a new case because both share the same cause ('illa).
- Relationship: qiyas is a tool of ijtihad; other tools include consensus, public interest, custom and presumption of continuity, according to different schools.
- Disagreement: the Zahiris and the Imami Shi'a reject qiyas as a source, yet practise ijtihad.
Introduction
Students often use the two words as if they meant the same. They are linked, and the classical scholar al-Shafi'i is reported to have spoken of them as closely connected, but the usual definitions give them different scopes. This answer defines each, shows how they relate, gives examples and states the main differences of opinion.
The reader should note that the explanations here are general descriptions of the standard definitions in the books of usul al-fiqh. A specific ruling on a particular case needs a qualified scholar and not a general article.
What is ijtihad?
The word comes from the root j-h-d, meaning effort and exertion. In the technical sense, as defined by al-Ghazali and later authors, it is the full effort of a qualified jurist to arrive at a probable view on a legal question from the evidence. A person who has the necessary knowledge of the Qur'an, the Sunnah, the Arabic language, the principles of usul and the matters of consensus is called a mujtahid.
The Prophet (saw) described the value of the effort when he said that when a judge exercises ijtihad and is correct he has two rewards, and when he exercises ijtihad and errs he has one reward (Sahih al-Bukhari 7352, Sahih Muslim 1716). This hadith is widely cited as the basis for the legitimacy of ijtihad and the reward for sincere effort even when mistaken.
A report about Mu'adh ibn Jabal (ra) says that when the Prophet (saw) sent him to Yemen he asked how he would judge, and Mu'adh named the Book of Allah, then the Sunnah, and then 'I will exercise my own opinion and not fall short.' It is reported by Abu Dawud and al-Tirmidhi, and many scholars of hadith, including al-Tirmidhi himself, regarded its chain as not firm, while others, such as al-Khatib al-Baghdadi and Ibn al-Qayyim, accepted its meaning on the strength of its reception. Because the grading is disputed, it is safer to rely on the hadith of the judge cited above.
What is qiyas?
Qiyas, literally measuring one thing by another, is defined by the jurists as joining a case with no text to a case with a text on the basis of a shared cause. It has four parts: the original case (asl), the new case (far'), the ruling and the cause. If the cause is found in both, the ruling transfers.
A standard example is intoxicants. The Qur'an prohibits wine (5:90). The cause of the prohibition is intoxication, so other substances that intoxicate are included in the ruling. A hadith states the principle directly: every intoxicant is khamr (reported in Sahih Muslim; the number should be confirmed by the reviewer). Another example is the Qur'anic instruction to leave trade when the call to Friday prayer is made (62:9). The jurists extended the prohibition of trade at that time to other occupations that distract from the prayer, because the cause is distraction.
Scholars who accept qiyas cite verses such as:
فَاعْتَبِرُوا يَا أُولِي الْأَبْصَارِ
So take a lesson, O people of insight (Qur'an 59:2)
Others, including the Zahiris, say the verse is about taking lessons from events and not about legal analogy. This is a real difference of interpretation and it shows that the status of qiyas is itself argued from evidence.
Types of qiyas
Jurists divide qiyas by strength. The clear kind (qiyas jali) is where the new case is at least as strong a reason for the ruling as the original, as in the prohibition of beating parents by analogy with the prohibition of saying 'uff' to them (17:23). The hidden kind (qiyas khafi) requires closer study of the cause. A further division in the books is into stronger, equal and weaker cases (awla, musawi, adna), which depends on how closely the new case matches the original.
The scholars also set conditions: the original ruling must be established by a text or consensus, the cause must be identifiable and applicable to the new case, and no stronger text may conflict with the extension.
Ijtihad without qiyas
Because ijtihad is wider, it includes tasks that are not analogy. Interpreting a general text and deciding whether it covers a case is ijtihad. Choosing between conflicting reports is ijtihad. A person deciding the direction of the qibla in the absence of a sign exercises ijtihad. Scholars of different schools also include tools such as public interest (maslaha), custom ('urf) and the presumption that the existing state continues (istishab), though the schools differ in how far they accept each.
For this reason it is not accurate to say that rejecting qiyas means rejecting ijtihad. Ibn Hazm (d. 456 AH), the main Zahiri author, rejected qiyas and opinion in law but still insisted on the effort to understand the texts and the application of their wording to new cases.
Differences between the schools
The four Sunni schools accept qiyas, though they differ on how widely it is applied and on its relation to other tools. The Hanafis are known for a wide use of reasoning, including istihsan, and the Malikis for giving weight to the practice of Madinah and public interest. The Shafi'is and Hanbalis place a heavier emphasis on texts, though they too use qiyas. The Zahiris reject it. The Twelver Shi'a traditionally also reject qiyas as a source, relying on reason ('aql) in a different sense and on the reports of the Imams. These summaries are broad, and each school has internal variation.
Why it matters today
New questions arise constantly, from medical procedures to financial instruments. Jurists use ijtihad to identify the relevant texts and principles, and qiyas where a close parallel exists in the earlier law. Some modern bodies make collective rulings, called ijtihad jama'i, since a single scholar cannot master every field involved. A believer without scholarly training does not practise ijtihad but follows a trusted scholar (taqlid), as the Qur'an advises asking those who know (16:43).
Live it
When I meet a new question, I should ask a qualified person and not rely on a quick analogy of my own. A dua: Rabbi ishrah li sadri wa yassir li amri, 'My Lord, expand my chest and ease my task for me' (Qur'an 20:25 to 26). Reflection question: do I compare cases only when they truly share the same reason?
Conclusion
Ijtihad is the scholar's effort to find the ruling; qiyas is one tool used in that effort. The distinction is useful because it explains how those who reject qiyas can still reason, and why those who accept it still need other skills. For any practical ruling the student should consult a competent scholar.
References
Qur'an 5:90, 16:43, 17:23, 20:25 to 26, 59:2, 62:9
Sahih al-Bukhari 7352; Sahih Muslim 1716
Sunan Abi Dawud and Jami' al-Tirmidhi, hadith of Mu'adh (grading disputed)
Al-Ghazali, al-Mustasfa min Ilm al-Usul
Ibn Hazm, al-Ihkam fi Usul al-Ahkam
Wael B. Hallaq, A History of Islamic Legal Theories (Cambridge, 1997)