Al-hamdulillahi ala kulli hal

picture with quote of Prophet (saw) used to say, Praise is to Allah in all circumstances, O Allah, I seek refuge with You from the situation of the people of Hell.

Al-hamdulillahi ala kulli hal. From a hadith taken from Ibn-Majah, Rasulullah (saw) used to praise Allah in every circumstance.