The Prophet of Allah ﷺ used to say in times of distress, "There is no god but Allah, the Mighty, the Forbearing. There is no god but Allah, Lord of the Mighty Throne. There is no god but Allah, Lord of the heavens, Lord of the earth, and Lord of the Noble Throne."The version narrated by Muaz bin Hisham is more complete.
حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن هشام بهذا الإسناد وحديث معاذ بن هشام أتم