Why is gambling forbidden in Islam? Are the lottery and raffles haram too?

Halal food, money and workQuran · 2Sources · 1

Short answer

The Quran calls games of chance an abomination of Satan's work. They let one person's gain depend on another's loss by pure luck, and they breed enmity, addiction and neglect of prayer. Casinos, betting and lotteries are forbidden; a prize draw that costs nothing to enter is generally considered permissible.

The fuller answer

The ruling came in stages, as with alcohol. The Quran first said that in wine and games of chance there is great sin and some benefit, but the sin is greater than the benefit. Later it said that strong drink and games of chance are an infamy of Satan's handiwork, that Satan wants to cast enmity and hatred among you by means of them and turn you away from the remembrance of Allah and prayer, and it asked, 'Will you then desist?' The Prophet ﷺ was so strict about this that he said whoever says to his friend, 'Come, let me gamble with you', should give charity, which scholars explain as an expiation even for the words.

The wisdom is easy to see. Money changes hands without work, a service or a fair exchange, and the loss often falls on those who can least afford it. Gambling is also addictive, ruins families, and trains the heart to depend on luck instead of effort and on Allah's provision. The rule covers casinos, poker, slot machines, sports and online betting, and lottery tickets, where you pay for a chance to win. Scholars apply the same logic to paid mystery boxes and games in which a purchase buys a random chance of a valuable prize, although this is a newer question and some scholars treat it differently.

A raffle or prize draw that costs nothing to enter is generally considered permissible, because nothing is staked. If gambling has become a habit, treat it as an addiction: tell someone you trust, use blocking tools, seek professional help, and repent. The door to repentance remains open.

From the Quran

يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ إِنَّمَا ٱلْخَمْرُ وَٱلْمَيْسِرُ وَٱلْأَنصَابُ وَٱلْأَزْلَٰمُ رِجْسٌۭ مِّنْ عَمَلِ ٱلشَّيْطَٰنِ فَٱجْتَنِبُوهُ لَعَلَّكُمْ تُفْلِحُونَ ﴿٩٠﴾ إِنَّمَا يُرِيدُ ٱلشَّيْطَٰنُ أَن يُوقِعَ بَيْنَكُمُ ٱلْعَدَٰوَةَ وَٱلْبَغْضَآءَ فِى ٱلْخَمْرِ وَٱلْمَيْسِرِ وَيَصُدَّكُمْ عَن ذِكْرِ ٱللَّهِ وَعَنِ ٱلصَّلَوٰةِ ۖ فَهَلْ أَنتُم مُّنتَهُونَ ﴿٩١﴾

O ye who believe! Strong drink and games of chance and idols and divining arrows are only an infamy of Satan's handiwork. Leave it aside in order that ye may succeed. Satan seeketh only to cast among you enmity and hatred by means of strong drink and games of chance, and to turn you from remembrance of Allah and from (His) worship. Will ye then have done?

۞ يَسْـَٔلُونَكَ عَنِ ٱلْخَمْرِ وَٱلْمَيْسِرِ ۖ قُلْ فِيهِمَآ إِثْمٌۭ كَبِيرٌۭ وَمَنَٰفِعُ لِلنَّاسِ وَإِثْمُهُمَآ أَكْبَرُ مِن نَّفْعِهِمَا ۗ وَيَسْـَٔلُونَكَ مَاذَا يُنفِقُونَ قُلِ ٱلْعَفْوَ ۗ كَذَٰلِكَ يُبَيِّنُ ٱللَّهُ لَكُمُ ٱلْءَايَٰتِ لَعَلَّكُمْ تَتَفَكَّرُونَ ﴿٢١٩﴾

They question thee about strong drink and games of chance. Say: In both is great sin, and (some) utility for men; but the sin of them is greater than their usefulness. And they ask thee what they ought to spend. Say: that which is superfluous. Thus Allah maketh plain to you (His) revelations, that haply ye may reflect.

Sources