The Messenger of Allah (ﷺ) said: He who plays backgammon disobeys Allah and His Apostle.
Sunan Abi Dawud Book 43, Hadith 166