Sunan Ibn Majah 3804
It was narratd from Abu Hurairah that :
the Prophet ﷺ used to say: "Al-hamdu lillahi 'ala kulli hal. Rabbi a'udhu bika min hali ahlin-nar (Praise is to Allah in all circumstances, O Allah, I seek refuge with You from the situation of the people of Hell)."
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، عَنْ مُوسَى بْنِ عُبَيْدَةَ، عَنْ مُحَمَّدِ بْنِ ثَابِتٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ ـ ﷺ ـ كَانَ يَقُولُ " الْحَمْدُ لِلَّهِ عَلَى كُلِّ حَالٍ رَبِّ أَعُوذُ بِكَ مِنْ حَالِ أَهْلِ النَّارِ " .
Classification
Da`eef (Weak) [Darussalam]
References
Sunan Ibn Majah 3804
Sunan Ibn Majah Vol. 5, Book of Etiquette, Hadith 3804