Classical scholars of all four schools held cannabis (hashish) to be forbidden because it intoxicates or dulls the mind, and this ruling is not in dispute for recreational use.
- For medicine, the question turns on whether a forbidden substance may be used as a cure, and here the scholars are divided: some forbid treatment with anything prohibited, while others permit it in genuine necessity when no lawful alternative exists.
- Contemporary fiqh councils generally allow a prohibited substance to be used as medicine where a trustworthy doctor confirms that it is effective, that there is no lawful alternative and that only the needed amount is used.
- Most contemporary scholars distinguish between a regulated pharmaceutical preparation prescribed for a diagnosed condition and the smoking or recreational use of the plant.
- The ruling depends on the facts of each case, so a sufferer should ask a qualified scholar together with a Muslim doctor.
Introduction
The question assumes clear scientific evidence that cannabis cures or treats some ailment, and asks how Islamic thinkers would judge its use. This assumption is fair, since Islamic law has always dealt with treatment through the facts that physicians establish. The answer has three parts: the ruling on the substance itself, the ruling on forbidden things used as medicine, and the way contemporary scholars apply the two to modern pharmaceuticals.
Cannabis was not known in the time of the Prophet (saw). It became widely used in the Muslim world from about the sixth Islamic century, and the jurists who met it judged it by analogy with wine (khamr) and by the general principles of the law.
The ruling on the substance
The main text is the statement of the Prophet (saw) that every intoxicant is khamr and every khamr is forbidden (Sahih Muslim). Umm Salama (ra) reported that he forbade every intoxicant and every mufattir, that which makes the body slack (Sunan Abi Dawud and Musnad Ahmad). The chain of this second report has been discussed by hadith scholars, but the sense is supported by the general rule against harming oneself, in the words of the Qur'an: do not throw yourselves into destruction (2:195), and by the hadith that there is to be no harm and no reciprocating harm (Sunan Ibn Majah, graded hasan by al-Nawawi and others in their collections).
Ibn Taymiyya in Majmu' al-Fatawa held that hashisha is forbidden by the consensus of Muslims, that those who use it should be punished and that it is worse than wine in some of its effects, since it damages the mind and the character. Al-Qarafi in al-Furuq and Ibn Hajar al-Haytami in al-Zawajir held the same, and al-Zarkashi wrote a treatise on its prohibition. There is a minor difference over the penalty. Some jurists apply the fixed penalty for wine to its intoxicating form, while others give a discretionary penalty (ta'zir), because the fixed penalty is limited to what the texts name. Most scholars say that small amounts that cause no intoxication are still forbidden if the substance is harmful, since the cause of the prohibition is its effect on the mind.
Can a forbidden thing be used as medicine?
Here the scholars differ, and the evidence for each position is clear. The first position forbids treatment with what is forbidden. They rely on the report that Allah has not placed your cure in what He has forbidden to you, which is attributed to Ibn Mas'ud (ra) and quoted by al-Bukhari in a chapter heading, and on the hadith in Sunan Abi Dawud that Allah sent down the disease and the cure and told the people to treat illness but not with the forbidden. Its chain is disputed. They also rely on Sahih Muslim, where Tariq ibn Suwayd (ra) asked the Prophet (saw) about making wine as a medicine, and the Prophet (saw) answered that it is not a medicine but a disease. This is the position of many Shafi'i and Hanbali jurists with respect to wine, as stated by al-Nawawi in al-Majmu' and Ibn Qudama in al-Mughni.
The second position permits it in necessity. They rely on the Qur'an: He has explained to you what He has forbidden to you, except what you are compelled to (6:119), and on the legal maxims that necessity makes the forbidden permissible and that harm is to be removed. The Hanafi jurists, as in Radd al-Muhtar of Ibn 'Abidin, allow treatment with a forbidden or impure substance where a trustworthy physician says that it will cure and no other remedy exists. Other scholars note that the Prophet (saw) permitted the Companions to drink the urine of camels for a disease, in the hadith of the 'Uraniyyin in Sahih al-Bukhari and Sahih Muslim, which they see as evidence that what is otherwise impure may be used as a cure. The Shafi'i and Hanbali scholars answer that the hadith of Tariq concerns wine in particular and that the camel's urine is not an intoxicant.
The reconciliation offered by later scholars is that the texts forbidding such treatment apply where there is only a guess or a lawful alternative exists, while the permission applies where the harm of the illness is real and the benefit of the substance is established. Ibn al-Qayyim in Zad al-Ma'ad also warns that the Prophetic guidance on medicine is to seek cure through what is lawful and good, so that the permission remains an exception for real need.
Contemporary positions
The International Islamic Fiqh Academy of the Organisation of Islamic Cooperation has addressed medicines that contain prohibited substances and has allowed them where there is no lawful alternative, where a trustworthy specialist doctor confirms the need and where the quantity is limited to the need. Scholars who apply this to cannabis generally give these conditions: a diagnosed and serious condition, scientific evidence of effect, failure or unavailability of lawful alternatives, a doctor's supervision, a minimum dose and the avoidance of intoxication where the condition permits.
Many contemporary scholars also point to the distinction between a purified compound and the raw plant. Where a pharmaceutical preparation has been tested and is dosed to relieve a condition, the substance has been changed in form and purpose, and some jurists apply the principle of transformation (istihala) or the principle that a ruling follows its cause. Yusuf al-Qaradawi in al-Halal wa al-Haram fi al-Islam lists hashish among the forbidden intoxicants and stresses the principle that necessity is measured by its size. Other scholars are stricter and say that, as long as the preparation causes intoxication, it should be avoided unless the patient has no other choice. In either position, recreational use, and smoking for relaxation under the label of medicine, remain forbidden.
Practical matters follow from this. A patient should ask whether the product will impair the prayer, since the Qur'an forbids praying while intoxicated (4:43), and whether it can be taken at times that allow the obligations to be met. A person should not stop an essential treatment without medical advice, and the fiqh of the sick, such as joining prayers or praying seated, applies if the treatment limits their ability. The Prophet (saw) said that Allah has sent down a cure for every disease (Sahih al-Bukhari), and that the believer should seek treatment, which supports the careful and honest use of whatever means Allah has made lawful and, in necessity, those that He has allowed.
Conclusion
The sources agree that cannabis is forbidden for pleasure, and they differ on its use as medicine in the way they differ on any forbidden thing used for cure. The stricter scholars do not allow treatment with it, and the majority of contemporary scholars allow a prescribed, regulated preparation where the need is real, the evidence is sound, no lawful alternative exists and the dose is limited. A patient with a specific condition should take the decision to a qualified scholar and a Muslim doctor together.
References
Qur'an 2:195, 4:43, 6:119
Sahih al-Bukhari: chapter on the disease and the cure, hadith of the 'Uraniyyin; Sahih Muslim: hadith that every intoxicant is khamr, hadith of Tariq ibn Suwayd; Sunan Abi Dawud: chapters on drinks and medicine
Ibn Taymiyya, Majmu' al-Fatawa; Ibn Qudama, al-Mughni; al-Nawawi, al-Majmu' Sharh al-Muhadhdhab; Ibn 'Abidin, Radd al-Muhtar
Ibn al-Qayyim, Zad al-Ma'ad; al-Qarafi, al-Furuq; Ibn Hajar al-Haytami, al-Zawajir
Yusuf al-Qaradawi, al-Halal wa al-Haram fi al-Islam; resolutions of the International Islamic Fiqh Academy on medicines containing prohibited substances