Sahih Bukhari · Hadith 6297
Good Manners and Form (Al-Adab) - كتاب الأدب
حدثنا آدم بن أبي إياس، حدثنا شعبة، حدثنا سليمان التيمي، قال سمعت أنسا رضى الله عنه يقول عطس رجلان عند النبي صلى الله عليه وسلم فشمت أحدهما ولم يشمت الآخر. فقال الرجل يا رسول الله شمت هذا ولم تشمتني. قال " إن هذا حمد الله، ولم تحمد الله ".
Narrated Anas: Two men sneezed before the Prophet and he said Tashmit to one of them, while he did not say Tashmit to the other. So that man said, "O Allah's Apostle! You said Tashmit to that fellow but you did not say Tashmit to me. "The Prophet said, "That man praised Allah, but you did not praise Allah."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).