At times of distress the Messenger of Allah (SAW) would say:
(Agreed Upon by Bukhari and Muslim)
There is no ilah except Allah the Magnificent, The Forbearing. There is no ilah except Allah Lord of the Magnificent
Throne. There is no ilah except Allah Lord of the Heavens, Lord of the Earth, and Lord of the Noble Throne.
It is reported of the Prophet (SAW) that if something distressed him he would say:
(At Tirmidhi)
O' Living (a life not followed by death),
O Sustainer, in your Mercy I plead for rescue.
Abu Bakr (RA) stated that the Messenger of Allah (SAW) said "The supplications of the distressed are:
(Abu Dawud)
O' my ilah it is your Mercy that I beseech, so do not entrust me to myself for even a
twinkle of an eye, and correct for me all my affairs, there is no ilah other than You.
The Messenger of Allah (SAW) said to Asma bint Umaysin: "Shall I not teach you a few words which you can say when you are distressed - or at the time of distress -
(Abu Dawud)
Allah, Allah my Lord I associate not with Him a thing.
The Messenger of Allah (SAW) said: "The petition of Thin-Noon (Jonah) which he petitioned with when he was inside the whale:
(At-Tirmithi)
There is no ilah except You, Glorified are Thee, I have been one of the unjust.
"No Muslim ever supplicated Allah with this supplication in any matter at all, except that Allah answered his supplication" (At-Tirmithi)
It is reported of the Prophet (SAW) that he said: "No preoccupying concern, or sadness inflicts a bond servant whereupon he says:
(Ahmad and Ibn Hibban)
O' my ilah I am your bondservant, son of your bondsman, and son of your
bondwoman. My forelock is in your Hands; your judgment is continuously being
carried out upon me; your sentence upon me is just. I ask You with every name
that is yours, with which You have named yourself, brought down in your book,
taught to one of your creation, or have preferred for Yourself in the hidden
knowledge, with You; that You make the Quran the spring of my heart, and the
light of my chest, and the despellation of my sadness, and deportation of my concern.