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
"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)."
“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
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”.
^ Hans Wehr, J. Milton Cowan (1979). A Dictionary of Modern Written
Arabic (4th ed.). Spoken Language Services.
^ a b c Juan Eduardo Campo (2009). "Dietary Rules". In John L.
Esposito. The Oxford Encyclopedia of the Islamic World. Oxford: Oxford
University Press. (Subscription required (help)).
^ 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.
^ Malise Ruthven (23 October 1997). Islam: A Very Short Introduction.
Oxford University Press, UK. pp. PT 68.
^ "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.