Ibn ‘Abbaas reported that when the Messenger of Allaah (peace and blessings of Allaah be upon him) felt distressed, he would say:
لا إلَهَ إِلا اللَّهُ الْعَظِيمُ الْحَلِيمُ ، لا إلَهَ إلا اللَّهُرَبُّ الْعَرْشِ الْعَظِيمُ ، لا إلَهَ إلا اللَّهُ رَبُّ السَّموَاتِ وَ رَبُّالأَرْضِ وَرَبُّ الْعَرْشِ الْكَرِيمُ
“Laa ilaaha ill-Allaah al-‘Azeem al-Haleem, laa ilaaha ill-Allaah Rabb al-‘Arsh al-‘azeem, la ilaaha ill-Allaah Rabb al-samawaat wa Rabb al-ard wa Rabb al-‘Arsh al-kareem
(There is no god but Allaah, the All-Powerful, the Forbearing; there is no god but Allaah, Lord of the mighty Throne; there is no god but Allaah, Lord of heaven, Lord of earth, and Lord of the noble Throne).”
Anas (may Allaah be pleased with him) reported that when the Messenger of Allaah (peace and blessings of Allaah be upon him) was distressed by something, he would say:
يَا حَيُّ يَا قَيُّومُ بِرَحْمَتِكَ أَسْتَغِيثُ
“Yaa Hayyu yaa Qayyoom bi rahmatika astagheeth
(O Ever-Living, O Eternal, by Your mercy I seek help).”
Asmaa’ bint ‘Umayr said: “The Messenger of Allâh (peace and blessings of Allâh be upon him) said to me: ‘Shall I not teach you some words which you can say at times of distress?
اللَّهُ اللَّهُ رَبِّي لَا أُشْرِكُ بِهِ شَيْئَاً
‘Allaah Allâh rabbee laa ushriku bihi shay’an
(Allâh Allâh is my Lord, I do not associate anything with Him).’”
Another of the beneficial du’aa’s which the Messenger of Allâh (peace and blessings of Allâh be upon him) taught us is the one he told us about when he said: “The du’aa’ of the person who is in distress is:
اللَّهُمَّ رَحْمَتَكَ أَرْجُو فَلَا تَكِلْنِي إِلَى نَفْسِي طَرْفَةَ عَيْنٍ وَأَصْلِحْ شَأْنِي كُلَّهُ لَا إِلَهَ إِلَّا أَنْتَ
‘Allaahumma rahmataka arjoo fa laa takilni ilaa nafsi tarfat ‘ayn w’aslih li sha’ni kullahu laa ilaaha illa anta
(O Allâh, for Your mercy I hope, so do not leave me in charge of my affairs even for the blink of an eye; rectify all my affairs. There is no god except You)’”
If a person thinks about the meaning of these du’aa’s and prays with concentration and a sincere intention, doing all those things that can help to bring about a response, Allaah will fulfil his hopes and do the things asked for; He will turn his distress into joy.