Abdullah bin Abbas reported,

The Prophet ﷺ used to supplicate in times of distress, saying, "There is no god but Allah, the Magnificent, the Forbearing. There is no god but Allah, Lord of the heavens and the earth, and Lord of the mighty Throne."

Bukhari 6345

Sahih

حدثنا مسلم بن إبراهيم حدثنا هشام حدثنا قتادة عن أبي العالية

عن ابن عباس رضي الله عنهما قال

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

البخاري 6345صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Supplications
Chapter
Supplication at times of distress
Numbering
Darussalam 6345
Bukhari 6345