Hadith on Praise: If the Prophet disliked something, he still praised Allah

Aisha reported: If the Messenger of Allah, peace and blessings be upon him, saw something he liked, he would say, “All praise is due to Allah, by whose favor good deeds are accomplished.” If the Prophet saw something he disliked, he would say, “All praise is due to Allah in every circumstance.”

Source: Sunan Ibn Mājah 3803

Grade: Sahih (authentic) according to Al-Albani

عَنْ عَائِشَةَ قَالَتْ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا رَأَى مَا يُحِبُّ قَالَ الْحَمْدُ لِلَّهِ الَّذِي بِنِعْمَتِهِ تَتِمُّ الصَّالِحَاتُ وَإِذَا رَأَى مَا يَكْرَهُ قَالَ الْحَمْدُ لِلَّهِ عَلَى كُلِّ حَالٍ

3803 سنن ابن ماجه كتاب الأدب باب فضل الحامدين

4727 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع