إِنَّمَا يُرِيدُ ٱلشَّيْطَٰنُ أَن يُوقِعَ بَيْنَكُمُ ٱلْعَدَٰوَةَ وَٱلْبَغْضَآءَ فِى ٱلْخَمْرِ وَٱلْمَيْسِرِ وَيَصُدَّكُمْ عَن ذِكْرِ ٱللَّهِ وَعَنِ ٱلصَّلَوٰةِ ۖ فَهَلْ أَنتُم مُّنتَهُونَ
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?
O you who believe! Khamr, Maysir, Ansab, and Azlam are a Rijs of Shaytan's handiwork. So avoid that in order that you may be successful (90)Shaytan wants only to excite enmity and hatred between you with Khamr and Maysir, and hinder you from the remembrance of Allah and from the Salah (the prayer). So, will you not then abstai (91)And obey Allah and obey the Messenger, and beware. Then if you turn away, you should know that it is Our Messenger's duty to convey in the clearest way (92)Those who believe and do righteous good deeds, there is no sin on them for what they ate, if they have Taqwa and believe and do righteous good deeds, and they (again) have Taqwa and believe, and then (once again) have Taqwa and perform good. And Allah loves the good-doers (93)
Prohibiting Khamr (Intoxicants) and Maysir (Gambling)
Allah forbids His believing servants from consuming Khamr and Maysir which is gambling. Ibn Abi Hatim recorded that 'Ali bin Abi Talib, the Leader of the Faithful, said that chess is a type of gambling. Ibn Abi Hatim recorded that 'Ata', Mujahid and Tawus, or , two of them, said that every type of gambling, including children's playing with (a certain type of) nuts, is Maysir. Ibn 'Umar said that Al-Maysir means gambling, and this is the same statement that Ad-Dahhak reported from Ibn 'Abbas, who added, "They used to gamble during the time of Jahiliyyah, until Islam came. Allah then forbade them from this evil behavior."
Meaning of Ansab and Azlam
Al-Ansab were altar stones, in whose vicinity sacrifices were offered (during the time of Jahiliyyah), according to Ibn 'Abbas, Mujahid, 'Ata', Sa'id bin Jubayr and Al-Hasan. They also said that Al-Azlam were arrows that they used for lotteries to make decisions, as Ibn Abi Hatim narrated. Allah said,
رِجْسٌ مِّنْ عَمَلِ الشَّيْطَانِ
(A Rijs of Shaytan's handiwork) meaning, abomination of Shaytan's handiwork, according to 'Ali bin Abi Talhah who reported it from Ibn 'Abbas. Sa'id bin Jubayr said that Rijs means 'sin' while Zayd bin Aslam said; "An evil handiwork of Shaytan."
فَاجْتَنِبُوهُ
(So avoid that) avoid all of these abominations,
لَعَلَّكُمْ تُفْلِحُونَ
(in order that you may be successful.) and this is a statement of encouragement. Allah said next,
إِنَّمَا يُرِيدُ الشَّيْطَانُ أَن يُوقِعَ بَيْنَكُمُ الْعَدَاوَةَ وَالْبَغْضَاءَ فِي الْخَمْرِ وَالْمَيْسِرِ وَيَصُدَّكُمْ عَن ذِكْرِ اللَّهِ وَعَنِ الصَّلَاةِ فَهَلْ أَنتُم مُّنتَهُونَ
(Shaytan wants only to excite enmity and hatred between you with Khamr (intoxicants) and Maysir (gambling), and hinder you from the remembrance of Allah and from the Salah (the prayer). So, will you not then abstain) This is a threat and a warning.
Hadiths that Prohibit Khamr (Intoxicants)
Imam Ahmad recorded that Abu Hurayrah said, "There were three stages to prohibiting Khamr (intoxicants). When the Messenger of Allah ﷺ migrated to Al-Madinah, the people were consuming alcohol and gambling, so they asked the Messenger of Allah ﷺ about these things, Allah revealed,
يَسْأَلُونَكَ عَنِ الْخَمْرِ وَالْمَيْسِرِ قُلْ فِيهِمَا إِثْمٌ كَبِيرٌ وَمَنَافِعُ لِلنَّاسِ
(They ask you about alcoholic drink and gambling. Say: "In them is a great sin, and …