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."Wahb said, Shuba narrated to us from Qatada something similar.

Bukhari 6346

Sahih

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

عن ابن عباس

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

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