Sahih Muslim, Book 41, Hadith 11 (Muslim 5836)

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.