The Prophet ﷺ would say this in times of distress
لَا إِلَٰهَ إِلَّا اللَّهُ الْعَظِيمُ الْحَلِيمُ، لَا إِلَٰهَ إِلَّا اللَّهُ رَبُّ الْعَرْشِ الْعَظِيمِ، لَا إِلَٰهَ إِلَّا اللَّهُ رَبُّ السَّمَاوَاتِ وَرَبُّ الْأَرْضِ وَرَبُّ الْعَرْشِ الْكَرِيمِ
Lā ilāha illallāhul-ʿAẓīmul-Ḥalīm, lā ilāha illallāhu Rabbul-ʿarshil-ʿaẓīm, lā ilāha illallāhu Rabbus-samāwāti wa Rabbul-arḍi wa Rabbul-ʿarshil-karīm
Meaning: There is none worthy of worship but Allah, the Mighty, the Forbearing. There is none worthy of worship but Allah, Lord of the mighty Throne. There is none worthy of worship but Allah, Lord of the heavens, Lord of the earth and Lord of the noble Throne.
Source: al-Bukhari 6346, Muslim 2730. Text checked against the hadith collections.
More duas: Hardship, worry and distress
Ask ʿIlm, the Islamic AI: answers from authentic hadith and the Quran
ʿIlm is Sunnah's free Islamic AI. Ask anything about worship, duas, the Prophet ﷺ or daily life, in any of 12 languages: it answers with authentic hadith and Quran verses, each with its reference (al-Bukhari, Muslim, the surah and ayah), adds short labelled guidance for questions about what to do, and never writes rulings of its own.
Ask ʿIlm a question