Sahih Muslim
Sahih Muslim 2991a
حَدَّثَنِي مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ، حَدَّثَنَا حَفْصٌ، - وَهُوَ ابْنُ غِيَاثٍ - عَنْ سُلَيْمَانَ، التَّيْمِيِّ عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ عَطَسَ عِنْدَ النَّبِيِّ صلى الله عليه وسلم رَجُلاَنِ فَشَمَّتَ أَحَدَهُمَا وَلَمْ يُشَمِّتِ الآخَرَ فَقَالَ الَّذِي لَمْ يُشَمِّتْهُ عَطَسَ فُلاَنٌ فَشَمَّتَّهُ وَعَطَسْتُ أَنَا فَلَمْ تُشَمِّتْنِي . قَالَ " إِنَّ هَذَا حَمِدَ اللَّهَ وَإِنَّكَ لَمْ تَحْمَدِ اللَّهَ " .
Anas ibn Malik reported that two men sneezed in the Prophet's (ﷺ) presence. He invoked Allah's mercy for one, but not for the other. The man who received no invocation said, “So-and-so sneezed and you invoked Allah's mercy for him, but I sneezed and you did not invoke it for me.” He replied, “He praised Allah, but you did not praise Allah.”