Al-Adab Al-Mufrad, Book 54, Hadith 11 (In-Book)

Abu Musa al-Ash'ari reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "Anyone who plays backgammon has rebelled against Allah and His Messenger."

حَدَّثَنَا إِسْمَاعِيلُ قَالَ‏:‏ حَدَّثَنِي مَالِكٌ، عَنْ مُوسَى بْنِ مَيْسَرَةَ، عَنْ سَعِيدِ بْنِ أَبِي هِنْدَ، عَنْ أَبِي مُوسَى الأَشْعَرِيِّ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم قَالَ‏:‏ مَنْ لَعِبَ بِالنَّرْدِ فَقَدْ عَصَى اللَّهَ وَرَسُولَهُ‏.‏

sunnah.com