218. When something happened that pleased him , the Prophet (SAW) used to say:
Alhamdu lillaahil-lathee bini'matihi tatimmus-saalihaat.
Praise is to Allah Who by His blessings all good things are perfected .
And if something happened that displeased him , he used to say :
Alhamdu lillaahi 'alaa kulli haal.
Praise is to Allah in all circumstances.
Reference: Ibn As-Sunni, 'Amalul-Yawm wal-Laylah, and Al-Hakim who graded it authentic 1/499. See also Al-Albani, Sahihul-Jami' As-Saghir 4/201.