From Sahih Muslim (Hadith 5896):
Buraida reported on the authority of his father that Allah's Apostle (ﷺ) said:He who played Nardashir (a game similar to backgammon) is like one who dyed his hand with the flesh and blood of swine
Reference: Muslim 5896