It is narrated from the Mother of the Believers, Sayyidah Aishah (may Allah be pleased with her) that she said: "When the Prophet (peace and blessings be upon him) saw something that pleased him, he would say: 'Alhamdu lillahi alladhi bi-ni'matihi tatimmu al-salihat' (All praise is for Allah, by whose grace all good deeds are completed), and when he (peace and blessings be upon him) saw something displeasing, he would say: 'Alhamdu lillahi 'ala kulli hal' (All praise is for Allah in every state)."
It is thus in the printed edition of Dar al-Haramain, and its editor pointed out that the original (manuscript) also has the text this way.
Hadith Referenceالمعجم الأوسط / باب الميم / 6663
Hadith Takhrij«أخرجه الحاكم فى «المستدرك» برقم: 1846، 2006، وابن ماجه فى «سننه» برقم: 3803، والطبراني فى «الأوسط» برقم: 6999»