Two men sneezed in the presence of the Prophet ﷺ. He invoked a blessing on one of them but left the other. It was said to him, "Two men sneezed, and you blessed one but did not bless the other."He replied, "This one praised Allah ."
حدثنا معتمر بن سليمان قال قال أبي
عطس عند النبي ﷺ رجلان فشمت أحدهما أو قال سمت وترك الآخر فقيل رجلان عطس أحدهما فشمته ولم تشمت الآخر فقال إن هذا حمد الله عز وجل
Its isnad is sahih, and though Mutamir did not explicitly state that he heard it from his father, he explicitly stated this frequently elsewhere. The hadith was narrated by Bukhari 8/60, in the Book of Manners, on praising Allah after sneezing, and Muslim 4/2292, no. 2991, in the Book of Asceticism, on responding to the sneezer, and Abu Dawud 4/309, no. 5039, and Ibn Majah 2/1223, no. 3713.