Abdullah bin Abbas reported,

The Prophet of Allah ﷺ used to recite these words 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 and Lord of the Noble Throne."

Bukhari 7431

Sahih

حدثنا عبد الأعلى بن حماد حدثنا يزيد بن زريع حدثنا سعيد عن قتادة عن أبي العالية

عن ابن عباس

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

البخاري 7431صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tawhid
Chapter
Saying of Allah the Exalted, "The angels and the spirit ascend to Him"
Numbering
Darussalam 7431
Bukhari 7431