كتاب الدعوات
16  
The Book of Du'a (Supplications)
(252)
Chapter: Some Verdicts Pertaining to Supplications
(252)
- باب في مسائل من الدعاء
Riyad as-Salihin 1502
Ibn 'Abbas (May Allah be pleased with them) said:
The Messenger of Allah (ﷺ) used to say when he was in distress: "La ilaha illallahul-Azimul-Halim. La ilaha illallahu Rabbul-'Arshil-'Azim. La ilaha illallahu Rabbus-samawati, wa Rabbul-ardi, wa Rabbul-'Arshil- Karim. (None has the right to be worshipped but Allah the Incomparably Great, the Compassionate. None has the right to be worshipped but Allah the Rubb of the Mighty Throne. None has the right to be worshipped but Allah the Rubb of the heavens, the Rubb of the earth, and the Rubb of the Honourable Throne)."

[Al-Bukhari and Muslim].

وعن ابن عباس رضي الله عنهما أن رسول الله صلى الله عليه وسلم كان يقول عند الكرب‏:‏ ‏ "‏لا إله إلا الله العظيم الحليم، لا إله إلا الله رب العرش العظيم، لا إله إلا الله رب السماوات ورب الأرض ورب العرش الكريم‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1502
In-book reference : Book 16, Hadith 38