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, Lord of the Noble Throne."

Ahmad 2012

Sahih

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

عن ابن عباس

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

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