Abdullah bin Abbas reported,

Whenever a serious matter weighed upon the Messenger of Allah ﷺ, he would say, "There is no god but Allah, the Magnificent, the Forbearing. There is no god but Allah, Lord of the heavens and Lord of the earth, Lord of the magnificent Throne. There is no god but Allah, Lord of the noble Throne. There is no god but Allah, Lord of the heavens and Lord of the earth, Lord of the noble Throne."

Ahmad 2531

Sahih

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

عن ابن عباس

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

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