Abdullah bin Abbas reported,

The Prophet of Allah ﷺ used to say in times of distress, "There is no god but Allah, the Mighty, 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."The version narrated by Muaz bin Hisham is more complete.

Muslim 6922

Sahih

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

مسلم 6922صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Remembrance, supplication, Tawba, and seeking forgiveness
Chapter
Supplication for distress
Numbering
Darussalam 6922
Muslim 6922