Hadith #202
Chapter: The Book of Greetings
كتاب السلام
Arabic Text
وعن أنس رضي الله عنه قال: عطس رجلان عند النبي صلى الله عليه وسلم
فشمت أحدهما ولم يشمت الآخر، فقال الذي لم يشمته: عطس فلان فشمته، وعطست فلم تشمتني؟ فقال: "هذا حمد الله، وإنك لم تحمد الله" ((متفق عليه))
Isnad Chain
أنس رضي الله عنه
English Translation
Anas (may Allah be pleased with him) reported that when two men sneezed in the presence of the Prophet ﷺ, he responded to one with "Yarhamuk-Allah (may Allah have mercy on you)" and did not respond to the other. The latter said to him: "You invoked a blessing on this man but did not do so in my case." the Prophet ﷺ replied, "He praised Allah (i.e., he said 'Al-hamdu lillah') but you did not.".
Quran References
Reference: Riyadh al-Salihin, Book 5, Hadith 202
Sunnah.com ref: riyadh-salihin 202
Islam.wiki ID: IWH-67040