Khamr (Arabic: خمر) is an Arabic word for wine. In Islamic jurisprudence it refers to certain forbidden substances, and its technical definition depends on the legal school. Maliki, Shafi'i, and Hanbali jurists have traditionally viewed it as general term for any intoxicating beverage made from grapes, dates, and similar substances. Hanafi jurists restricted the term to a narrower range of beverages. Over time, some jurists classified other intoxicants, such as opium and qat, as khamr, based on a hadith stating: "every intoxicant is khamr, and every khamr is forbidden."
There are some Muslim jurists (particularly of the Hanafi school) who take the concept of khamr literally and forbid only grape-based (or date-based) alcoholic beverages, allowing those made with other fruits, grains, or honey. This is, however, a minority opinion.
Intepretation of prohibition
As far as the prohibition of Alcohol in the Koran is concerned alcohol was prohibited after an incident which is recorded in the Sunni Hadith literature in a Hadith found in Jami a Tirmidhi where some companions of the Islamic Prophet Muhammad were guests at a meal and drank wine and verses of the Koran were revealed. The narrative is found in Chapters of Tafsir Vol.5 Book 44 Hadith No. 3026.
"Narrated Abu 'Abdur-Rahman As-Sulami: that 'Ali bin Abi Talib said: "'Abdur-Rahman bin 'Awf prepared some food for which he invited us, and he gave us some wine to drink. The wine began to affect us when it was time for Salat. So they encouraged me (to lead) and I recited: 'Say: O you disbelievers! I do not worship what you worship, and we worship what you worship' - so Allah, Most High, revealed: O you who believe! Do not approach Salat when you are in a drunken state until you know what you are saying (4:43)."
Like Mu'tazila, Hanafi scholars uphold the unlawfulness of khamr, but restrict its definition to fermented juice of grapes or grapes and dates. As a result, alcohol derived by means of honey, barley, wheat and millet such as whisky, beer and vodka are permitted according to Abu Hanifa and Abu Yusuf, although all forms of grape alcohol are banned absolutely. This is in stark contrast to other schools of Islamic jurisprudence which prohibit consumption of alcohol in all its forms. Though Hanafis trace their liberal view on intoxicants back to Umar ibn al-Khattab and Ibn Mas'ud,[need quotation to verify] but, in essence, this conclusion has its roots in the early Basric and Kufic traditions of Islamic legal thinking with its hermeneutic preference for rational reasoning. Ibn Rushd al-Qurtubi explains it thus in his encyclopedia of comparative Islamic jurisprudence,
“In their argument by way of reasoning they said that the Koran has explicitly laid down that the Illa (underlying cause) of prohibition of khamr (wine) is that it prevents the remembrance of God and breeds enmity and hatred…[this is] found only in a certain quantity of the intoxicating liquor not in what is less than that; it follows therefore that only this quantity be prohibited..” 
This eccentric distinction between the legal status of wine and non-grape alcoholic beverages trickled down to Hanafi legal code. Hanafi jurists delineated drinking-related offences into two categories:
- Drinking grape-derived wine (punishment applicable on drinking “even a drop”.
- Intoxication from non-grape intoxicants (certainly prohibited from a religious-moral perspective, but may or may not qualify for criminal punishment).[need quotation to verify]
As the second category of punishment is specific to the Hanafis (other schools punish drinking regardless of intoxication), they had to come with a legal definition of drunkenness. These definitions ranged from Ibn Qutayba’s ,
“[a drunk is he] whose intellect has left him so he does not understand a little or much (anything at all)” to Ibn Nujaym’s ,“[a drunk is he who] does not know (the difference) between a man and a woman or the earth from the sky”.
Hanafi understanding of Shariah not only permitted adherents to indulge in alcoholic beverages but they could do so up to a near point of total "annihilation".
- Hans Wehr, J. Milton Cowan (1979). A Dictionary of Modern Written Arabic (4th ed.). Spoken Language Services.
- Juan Eduardo Campo (2009). "Dietary Rules". In John L. Esposito. The Oxford Encyclopedia of the Islamic World. Oxford: Oxford University Press. (Subscription required (. ))
- Fahd Salem Bahammam. Food and Dress in Islam: An explanation of matters relating to food and drink and dress in Islam. Modern Guide. p. 1. ISBN 978-1-909322-99-8.
- "Jami` at-Tirmidhi » Chapters on Tafsir - Sunnah.com".
- John Alden Williams (22 July 2010). The Word of Islam. University of Texas Press. pp. PT 116. ISBN 978-0-292-78667-7.
- John Alden Williams. Islam. Library of Alexandria. pp. PT 117. ISBN 978-1-4655-8103-7.
- Malise Ruthven (23 October 1997). Islam: A Very Short Introduction. Oxford University Press, UK. pp. PT 68. ISBN 978-0-19-154011-0.
- "Jami` at-Tirmidhi » Chapters on Tafsir".
- Sa'eedi al-Hanafi, Ghulam Rasool. Sharh Sahih Muslim.
- "Alcohol: Its kinds, usage and Rulings".
- Ruthven, Malisse (1997). slam: A Very Short Introduction. Oxford University Press. p. 55.
The following is part of a discussion on prohibited liquors from the Hidayah of Burhanuddin al-Marghinani (d. 1197), a Hanafi faqih of Farghana in Central Asia (modern Uzbekistan). Beer, Whisky, and Vodka, according to this liberal Hanafi view, are permitted, although all forms of grape alcohol are banned absolutely: "..Liquor produced by means of honey, wheat, barley or millet is lawful, according to Abu Hanifa and Abu Yusuf (his most distinguished disciple)..
- Saeedi, Ghulam Rasool. Sharh Sahih Muslim. p. 200.
- Qurtubi, Ibn Rushd. The Distinguished Jurists Primer. p. 573.
- Nyazee, Imran Ahsan Khan. Islamic Jurisprudence: Uṣūl Al-Fiqh. p. 311.
- Fatawa-i Hindiyya. Maktaba Rahmaniyya. p. 344.
- Morrow, John Andrew. Islamic Images and Ideas: Essays on Sacred Symbolism. p. 83.