Taken from here:
http://en.wikipedia.org/wiki/Islamic_dietary_laws
In Islam, consumption of any intoxicants (specifically, alcoholic beverages) is generally forbidden in the Qur'an through several separate verses revealed at different times over a period of years. At first, it was forbidden for Muslims to attend prayers while intoxicated.
O you who believe! do not go near prayer when you are Intoxicated until you know (well) what you say, nor when you are under an obligation to perform a bathunless (you are) travelling on the roaduntil you have washed yourselves; and if you are sick, or on a journey, or one of you come from the privy or you have touched the women, and you cannot find water, betake yourselves to pure earth, then wipe your faces and your hands; surely Allah is Pardoning, Forgiving.
Qurʼan, Sura 4 (al-Nisaʼ

, ayah 43
Then a later verse was revealed which said that alcohol contains some good and some evil, but the evil is greater than the good (In Surat al-Baqarah: 219, it states:
They ask you about intoxicants and games of chance. Say: In both of them there is a great sin and means of profit for men, and their sin is greater than their profit. And they ask you as to what they should spend. Say: What you can spare. Thus does Allah make clear to you the communications, that you may ponder.
Qurʼan, Surah 2 (al-Baqarah), ayah 219
This was the next step in turning people away from consumption of it. Finally, "intoxicants and games of chance" were called "abominations of Satan's handiwork," intended to turn people away from God and forget about prayer, and Muslims were ordered to avoid.
O you who believe! Intoxicants (all kinds of alcoholic drinks), gambling, al-ansāb , and al-azlām (arrows for seeking luck or decision) are an abomination of Shayṭān's (Satan's) handiwork. So avoid (strictly all) that (abomination) in order that you may be successful.
Qurʼan, Surah 5 (al-Maʼidah), ayah 90
In addition to this, most observant Muslims refrain from consuming food products that contain pure vanilla extract or soy sauce if these food products contain alcohol; there is some debate about whether the prohibition extends to dishes in which the alcohol would be cooked off or if it would be practically impossible to consume enough of the food to become intoxicated. The Zaidi and Mutazili sects believe that the use of alcohol has always been forbidden and refer to this Qur'an Ayah (4:43) as feeling of sleepiness and not to be awake.
Substances which are intoxicants are not prohibited as such, although their consumption is. For example, alcohol can be used as a disinfectant or for cleaning, but not as a beverage.
It means that hand sanitizer and aftershave are halal (despite the fact that both contain significant amounts of alcohol).
I am teetotal, but not a Muslim.