It was narrated by Muslim (2260), Abu Dawood (4939), Ibn Maajah (3763) and Ahmad, from Buraydah (may Allah be pleased with him), that the Prophet (blessings and peace of Allah be upon him) said: “Whoever plays with dice, it is as if he were dipping his hand in the flesh and blood of a pig.”
It was narrated by Abu Dawood (4938), Ibn Maajah (3762), Ahmad (19027), and al-Bayhaqi (21478) from Abu Moosa al-Ash‘ari that the Messenger of Allah (blessings and peace of Allah be upon him) said: “Whoever plays with dice has disobeyed Allah and His Messenger.”
Classed as hasan by al-Albaani in Saheeh al-Jaami‘ (no. 6529)
Al-Bukhaari narrated in al-Adab al-Mufrad (1270) that ‘Abdullah ibn Mas‘ood said: Beware of these two marked cubes that are thrown, for they come under the heading of gambling.