Al-Adab Al-Mufrad, Book 54, Hadith 1267 (English)

Salman al-Ilhani reported that Fadala ibn 'Ubayd was in a gathering. He heard that some people were playing backgammon. He got up in anger and forbade it in the strongest possible terms. Then he said, "Anyone who plays it in order to consume its winnings is like someone who eats pig meat and does wudu' with blood."

حَدَّثَنَا عِصَامٌ، قَالَ‏:‏ حَدَّثَنَا حَرِيزٌ، عَنْ سَلْمَانَ الأَلَهَانِيِّ، عَنْ فَضَالَةَ بْنِ عُبَيْدٍ، وَكَانَ مَجْمَعًا مِنَ الْمُجَامِعِ، فَبَلَغَهُ أَنَّ أَقْوَامًا يَلْعَبُونَ بِالْكُوبَةِ، فَقَامَ غَضْبَانًا يَنْهَى عَنْهَا أَشَدَّ النَّهْيِ، ثُمَّ قَالَ‏:‏ أَلاَ إِنَّ اللاَّعِبَ بِهَا لَيَأْكُلُ قَمْرَهَا كَآكِلِ لَحْمِ الْخِنْزِيرِ، وَمُتَوَضِّئٍ بِالدَّمِ‏.‏ يَعْنِي بِالْكُوبَةِ‏:‏ النَّرْدَ‏.‏

sunnah.com