Allah Almighty has said: "O you who believe, intoxicants, gambling, stone altars and divining arrows are only a filth of Satan's handiwork, so avoid it completely so that you may prosper." (to the end of the verse)
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "Guard yourselves against these marked dice which are thrown hard (while playing), for they are a kind of gambling." Imam Ahmad bin Mani' has also related this report in the same way with the chain of Ali bin Hashim from Ibrahim al-Hajari from Abu al-Ahwas.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الأدب وغيره / 5450
Hadith Gradingمحدثین:سكت عنه البوصيري، موقوف؛ إسناده صحيح
Hadith Takhrij«أبو عوانة، عبد الملك بن عمير، أبو الأحوص عوف بن مالك: ثقات (من الحفظ)؛ موقوف على ابن مسعود»