Al-Adab Al-Mufrad, Book 42, Hadith 56 (In-Book) ⓘ
'Ali ibn 'Abdullah was heard expressing his dislike for chess and said, "Do not greet someone who plays it. It is a kind of gambling."
حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ قَالَ: حَدَّثَنِي مَعْنُ بْنُ عِيسَى قَالَ: حَدَّثَنِي أَبُو رُزَيْقٍ، أَنَّهُ سَمِعَ عَلِيَّ بْنَ عَبْدِ اللهِ يَكْرَهُ الأَسْبِرَنْجَ وَيَقُولُ: لاَ تُسَلِّمُوا عَلَى مَنْ لَعِبَ بِهَا، وَهِيَ مِنَ الْمَيْسِرِ.
also referenced under: Hadith 1019 (Reference) & Book 42, Hadith 1019 (English)