"Two men sneezed in he presence of the Prophet ﷺ and he replied (said: YarhamukAllah; may Allah have mercy on you') to one and not to the other. It was said: 'O Messenger of Allah ﷺ, two men sneezed in your presence and you replied to one and not to the other?' He said: "'This one praised Allah(said Al-Hamdulillah fter sneezing) but that one did not.'" (Using translation from Ibn Mājah 3713)
عَطَسَ رَجُلَانِ عِنْدَ النَّبِيِّ ﷺ فَشَمَّتَ أَحَدَهُمَا وَلَمْ يُشَمِّتِ الْآخَرَ فَقِيلَ لَهُ يَا رَسُولَ اللَّهِ شَمَّتَّ هَذَا وَلَمْ تُشَمِّتِ الْآخَرَ؟ فَقَالَ «إِنَّ هَذَا حَمِدَ اللَّهَ وَإِنَّ هَذَا لَمْ يَحْمَدِ اللَّهَ» قَالَ عَبْد اللَّهِ «سُلَيْمَانُ هُوَ التَّيْمِيُّ»