(468) بَابُ لا يُسَلَّمُ عَلَى فَاسِقٍ
'Ali ibn 'Abdullah was heard expressing his dislike for chessand said, "Do not greet someone who plays it. It is a kind of gambling."
Reference: Al-Adab Al-Mufrad 1019
In-book reference: Book 42, Hadith 56
English translation: Book 42, Hadith 1019