The Prophet (Allah bless him and give him peace) would say when in distress, “There is no deity but Allah, the Knowing, the Clement. There is no deity but Allah, Lord of the Magnificent Throne. There is no deity but Allah, Lord of the heavens and Lord of the earth and Lord of the Noble Throne.” [Bukhari]
لا إلهَ إلا اللهُ العَليمُ الحَليم لا إلهَ إلا اللهُ ربُّ العَرْشِ العَظِيْم لا إلهَ إلا اللهُ
ربُّ السَّمَاوَاتِ وَرَبُّ الأَرْضِ ربُّ العَرْشِ الكَرِيْم
La ilaha illa Allahu l-Alimu l-Halim. La ilaha illa Allahu Rabbu l-Arshi l-Azim. La ilaha illa Allahu Rabbu s-samawati wa Rabbu l-ardi wa Rabbu l-Arshi l-Karim.