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 and the earth and Lord of the Noble Throne."Yazid said, "Lord of the seven heavens and Lord of the Noble Throne."

Ahmad 3147

Sahih

حدثنا محمد بن جعفر حدثنا سعيد عن قتادة ويزيد بن هارون قال أخبرنا سعيد عن قتادة قال حدثنا أبو العالية الرياحي

عن ابن عباس

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

أحمد 3147صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 3147
Ahmad 3147