حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ قَالَ: حَدَّثَنِي مَعْنُ بْنُ عِيسَى قَالَ: حَدَّثَنِي أَبُو رُزَيْقٍ، أَنَّهُ سَمِعَ عَلِيَّ بْنَ عَبْدِ اللهِ يَكْرَهُ الأَسْبِرَنْجَ وَيَقُولُ: لَا تُسَلِّمُوا عَلَى مَنْ لَعِبَ بِهَا، وَهِيَ مِنَ الْمَيْسِرِ.
It is narrated from Ali bin Abdullah bin Abbas, may Allah have mercy on him, that he disliked chess, and used to say: Do not greet the person who plays with chess. This is gambling.