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."
Sunan Ibn Majah 3803
This hadith beautifully illustrates the Prophet Muhammad's profound gratitude and trust in Allah's wisdom and decree. Regardless of whether he encountered something he liked or disliked, he would express praise and thankfulness to Allah. This serves as a powerful reminder for believers to maintain an attitude of gratitude and acceptance, recognizing that all circumstances are ultimately from Allah and have wisdom behind them.