HAKIM 7691:
from a man ʿAṭas ʿInd ʿAbdullāh b. ʿUmar —
from Nafi: "A man sneezed beside Ibn 'Umar and said: 'Al-Hamdulillah Was-Salamu 'Ala Rasulillah. (All praise is due to Allah, and peace upon the Messenger of Allah)'. So Ibn 'Umar said: 'I too say Al-Hamdulillah Was-Salamu 'Ala Rasulillah, but this is not what the Messenger of Allah ﷺ taught us. He taught us to say: "Al-Hamdulillah 'Ala Kulli Hal (All praise is due to Allah in every circumstance)." (Using translation from Tirmidhī 2738)
الحاكم ٧٦٩١:
عن ا من عطس عند عبد الله بن عمر —
الْحَمْدُ لِلَّهِ وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ فَقَالَ ابْنُ عُمَرَ وَأَنَا أَقُولُ الْحَمْدُ لِلَّهِ وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ وَلَكِنْ لَيْسَ هَكَذَا عَلَّمَنَا رَسُولُ اللَّهِ ﷺ إِذَا عَطَسَ أَحَدُنَا أَنْ يَقُولَ «الْحَمْدُ لِلَّهِ عَلَى كُلِّ حَالٍ»
hadithunlocked.com