Allah says in the Holy Quran Chapter 5 Surah Maidah verses 90-91:
O you who have believed! ‘Khamr’ (all types of intoxicants), games of chance, idols, and divining arrows are all abominable works of the Shaytaan; therefore, stay (far) away from these so that you may attain success. Indeed, the Shaytaan seeks to sow enmity and hatred among you by means of ‘khamr’ (intoxicants) and gambling, and to prevent you from the Remembrance of Allah and from Salaah. Will you not, then, abstain from these things?
Al-Tirmidhi Hadith 2776 Narrated by Anas ibn Malik
Allah's Messenger :saws: invoked the curse of Allah on ten people in connection with wine: the wine-presser, the one who has it pressed, the one who drinks it, the one who conveys it, the one to whom it is conveyed, the one who serves it, the one who sells it, the one who benefits from the price paid for it, the one who buys it, and the one for whom it is bought.
Al-Tirmidhi Hadith 4477 Narrated by Jabir ibn Abdullah
The Prophet :saws: said, "He who believes in Allah and the Last Day must not sit at a cloth (table or gathering) where wine is being circulated."
Sunan of Abu-Dawood Hadith 3765 Narrated by Abdullah ibn Umar
The Messenger of Allah :saws: forbade the sitting at a cloth (table or gathering) on which wine is drunk.
Allah :swt: has commanded the believers to stay far far away from any and all types of intoxicants, and the Messenger of Allah :saws: explicitly forbade the believers to sit or join in a gathering where alcohol is being served.