Thank God in All Circumstances
When the Prophet Muhammad (peace be upon him) saw something good, he would say:
"God's will be done! There is no power or strength except with God."
When he saw something unpleasant, he should say:
"Praise and thanks be to God in all circumstances."
Fiqh-us-Sunnah, Volume 4, Number 125A