Al-Adab Al-Mufrad #1022
Greetings
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ قَالَ: حَدَّثَنِي مَعْنُ بْنُ عِيسَى قَالَ: حَدَّثَنِي أَبُو رُزَيْقٍ، أَنَّهُ سَمِعَ عَلِيَّ بْنَ عَبْدِ اللهِ يَكْرَهُ الأَسْبِرَنْجَ وَيَقُولُ: لاَ تُسَلِّمُوا عَلَى مَنْ لَعِبَ بِهَا، وَهِيَ مِنَ الْمَيْسِرِ.
'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."
About Al-Adab Al-Mufrad
This hadith is #1022 from Al-Adab Al-Mufrad, in the Book of Greetings.