ADAB 1270:

'Abdullah ibn Mas'ud said, "Beware of these two marked cubes. They should be forcibly prohibited. They are part of gambling."

الأدب المفرد ١٢٧٠:

إِيَّاكُمْ وَهَاتَيْنِ الْكَعْبَتَيْنِ الْمَوْسُومَتَيْنِ اللَّتَيْنِ يُزْجَرَانِ زَجْرًا فَإِنَّهُمَا مِنَ الْمَيْسِرِ


Sound (Albānī)
al-Adab al-Mufrad > Betting and similar pastimes > § The wrong action of someone who plays backgammon
hadithunlocked.com