Surah Al-Baqarah, ayah 219

2:219

۞ يَسۡـَٔلُونَكَ عَنِ ٱلۡخَمۡرِ وَٱلۡمَيۡسِرِۖ قُلۡ فِيهِمَآ إِثۡمٞ كَبِيرٞ وَمَنَٰفِعُ لِلنَّاسِ وَإِثۡمُهُمَآ أَكۡبَرُ مِن نَّفۡعِهِمَاۗ وَيَسۡـَٔلُونَكَ مَاذَا يُنفِقُونَۖ قُلِ ٱلۡعَفۡوَۗ كَذَٰلِكَ يُبَيِّنُ ٱللَّهُ لَكُمُ ٱلۡأٓيَٰتِ لَعَلَّكُمۡ تَتَفَكَّرُونَ ٢١٩

Yas'alūnaka 'anil-khamri wal-maysiri qul fīhimā ithmun kabīrun wamanāfi'u lin-nāsi wa ithmuhumā akbaru min naf'ihimā wayas'alūnaka mādhā yunfiqūna qulil-'afwa kadhālika yubayyinullāhu lakumul-āyāti la'allakum tatafakkarūn

They ask you about wine80 and gambling. Say, "In them is great sin and [yet, some] benefit for people. But their sin is greater than their benefit." And they ask you what they should spend. Say, "The excess [beyond needs]." Thus Allāh makes clear to you the verses [of revelation] that you might give thought

Footnotes

80 The word "khamr" (wine) includes all intoxicants. The final prohibition is given in 5:90-91.