Abdullah bin Abbas reported,

The Messenger of Allah ﷺ used to say at times of distress, "There is no god but Allah, the Magnificent, 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."

Azami 11280

Sahih

عن ابن عباس

أن رسول الله ﷺ كان يقول عند الكرب: لا إله إلا الله العظيم الحليم، لا إله إلا الله رب العرش العظيم، لا إله إلا الله رب السموات ورب الأرض، ورب العرش الكريم.

الأعظمي 11280صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for various occasions
Section
What is said during distress, worry, grief, and hardship
Numbering
Jami al-Kamil 11280 (2nd edition)
Azami 11280