Quran 2:219
They ask you about wine1 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 Allah makes clear to you the verses [of revelation] that you might give thought
— Saheeh International
Quran 5:90 - 5:91
O you who have believed, indeed, intoxicants, gambling, [sacrificing on] stone altars [to other than Allah], and divining arrows are but defilement from the work of Satan, so avoid1 it that you may be successful.
Satan only wants to cause between you animosity and hatred through intoxicants and gambling and to avert you from the remembrance of Allah and from prayer. So will you not desist?
— Saheeh International