Duas 7 min read
When life closes in, the Quran and Sunnah give us words to say. The best known are the dua of Prophet Yunus (RA) from the belly of the whale, and the words Prophet Muhammad ﷺ (pbuh) said when he was distressed. Say them with a sincere heart, and keep seeing a doctor or counsellor if you need one.
This article explains what these duas mean and where they come from. It is general education, not a fatwa. For your own situation, please ask a qualified scholar. It is also not medical advice: dua does not replace medical or mental-health care.
The dua of Yunus (RA)
Yunus (RA) called out to Allah (S.W.T) from the deepest trouble imaginable. One explanation of “the darknesses” in the verse is three layers: the night, the depth of the sea, and the inside of the whale. His words were short. He declared that there is no deity but Allah, he declared Allah free of all fault, and he admitted his own wrong.
Those three parts are worth noticing. The first affirms that Allah alone can help. The second praises Him. The third is honest humility, with no excuses. Some writers point out that the dua acknowledges who Allah is, glorifies Him, and admits human weakness.
The Prophet ﷺ spoke about this dua directly. In Jami` at-Tirmidhi 3505, Sa’d ibn Abi Waqqas (RA) reports that the Prophet ﷺ gave the words of Dhun-Nun in the whale, and said that no Muslim man ever supplicates with it for anything except Allah responds to him. Sunnah.com shows the grade as Sahih (Darussalam). You can read it at Sunnah.com, Tirmidhi 3505.
The hadith promises a response. It does not say when or in what form, and it gives no number of repetitions. One dua collection notes that no fixed number of repetitions is prescribed in authentic hadith.
What the Prophet ﷺ said in distress
Several reports show what the Prophet ﷺ himself said when something weighed on him. The table below lists the best known ones, with links so you can read the full wording. Longer duas are named here rather than copied, so you can read them in the original on the linked page.
| Dua | Meaning in short | Reported by | Source |
|---|---|---|---|
| The words of Dhun-Nun | Allah alone is God; He is exalted; I wronged myself | Sa’d (RA) | Tirmidhi 3505 |
| Words at the time of distress | Praise of Allah as the Mighty, the Forbearing, and Lord of the heavens, earth and Throne | Ibn Abbas (RA) | Bukhari 6345 |
| Ya Hayyu Ya Qayyum | Calling on Allah’s Names the Living and the Sustainer, and seeking relief through His mercy | Anas (RA) | Tirmidhi 3524 |
| Refuge from worry and grief | Asking Allah for protection from worry, sadness, weakness, debt and being overpowered | Anas (RA) | Sahih Al-Bukhari (see page) |
On Tirmidhi 3524, Sunnah.com gives the report as: whenever a matter distressed him, the Prophet ﷺ would call on Allah as the Living and Self-Sustaining, and seek relief in His mercy. SeekersGuidance explains the Names: Al-Hayy is the One with absolute, independent life, and Al-Qayyum is the One who needs nothing to sustain Him and sustains all things.
The dua for refuge from worry and grief begins with the words “Allahumma inni a’udhu bika minal-hammi wal-hazan”. One page gives it as reported from Anas ibn Malik (RA) in Sahih Al-Bukhari. Websites number this hadith differently (6363, 6369 and 6371 all appear), so check the collection on Sunnah.com before quoting a number. Writers on this dua explain that hamm is worry about what might happen, and hazan is sorrow about what has already happened.
Dua beside medical and mental-health care
Dua is a gift, and it can bring real calm. It still sits beside the means Allah has placed in the world. Contemporary sources say plainly that dua is a spiritual support and does not replace professional mental-health care.
Scholars and Muslim practitioners describe seeking treatment as part of tawakkul (trust in Allah). One summary of SeekersGuidance advice says that someone with panic attacks should turn to Allah, ask for help, and then seek healing through a qualified mental-health professional. Another source says AMJA has affirmed that psychological therapy falls under the duty of seeking treatment for illness.
If you feel hopeless, or you think about harming yourself, contact your local emergency number or a crisis line now, and tell someone you trust. Make dua while you do it.
Real-life examples
- A student fails an important exam and feels crushed. She says the words of Dhun-Nun quietly on the bus, admits her mistakes to Allah, and then books a talk with her tutor.
- A father gets a hospital call about his son. In the waiting room he repeats the Prophet’s ﷺ words of distress and praises Allah as Lord of the Throne, and he stays by the doctors’ side.
- A young woman has felt heavy for months and cannot sleep. She says the dua for refuge from worry and grief each evening, and she also sees her GP, who refers her to a counsellor.
From the Quran
وَذَا ٱلنُّونِ إِذ ذَّهَبَ مُغَٰضِبًۭا فَظَنَّ أَن لَّن نَّقْدِرَ عَلَيْهِ فَنَادَىٰ فِى ٱلظُّلُمَٰتِ أَن لَّآ إِلَٰهَ إِلَّآ أَنتَ سُبْحَٰنَكَ إِنِّى كُنتُ مِنَ ٱلظَّٰلِمِينَ
And [mention] the man of the fish, when he went off in anger and thought that We would not decree [anything] upon him. And he called out within the darknesses, “There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers.”
Surah Al-Anbiyaa (21:87) · Translation: Sahih International · Read on Quran.com
This is Surah Al-Anbiya (21:87). The verse first tells us Yunus (RA) left his people in anger, and believed Allah would not decree anything upon him. Then he found himself in layers of darkness, and the only door left was dua.
The next verse, Surah Al-Anbiya (21:88), records Allah’s answer. One source summarises it simply: Allah saved Prophet Yunus from his distress. The lesson for us is that the dua came with honesty. Yunus (RA) did not hide his fault, and Allah did not turn him away.
From the Hadith
لاَ إِلَهَ إِلاَّ اللَّهُ الْعَظِيمُ الْحَلِيمُ
Translation: None has the right to be worshipped but Allah, the Majestic, the Most Forbearing…
Sahih Al-Bukhari 6345 · Read on Sunnah.com
This report is in Sahih Al-Bukhari, chapter “To invoke Allah at a time of distress”. Ibn Abbas (RA) says the Prophet ﷺ used to make this dua when distressed. The words praise Allah as the Mighty and the Forbearing, and as Lord of the heavens, the earth and the great Throne.
Notice what he did with his worry. He began with who Allah is, before saying anything about his own trouble. Another narration in Bukhari 7426 and Muslim 2730 has a slightly different wording, with “the Knowing, the Forbearing”, so you may see small differences between books.
What the scholars say
The sources I read treat these words as supplications reported from the Prophet ﷺ. None of them present the words as an obligation, and none record a difference between the schools on saying them. I did not find a school-specific ruling on them, so this site does not give one here. If you want the Hanafi position on a specific question, ask a Hanafi scholar.
On the Tirmidhi 3505 hadith, the Sunnah.com grade is Sahih (Darussalam), as noted above. For Tirmidhi 3524, I did not find a grade on the Sunnah.com page itself, so no grade is given here. One dua site calls it hasan, according to hadith scholars, but that is a secondary source and you should confirm it with a scholar.
On treatment, the sources above agree that seeking medical or mental-health help sits alongside faith. See this overview of scholarly views and the discussion of therapy in Islam. Both are summaries of other scholars, so go to a qualified scholar for a ruling.
Putting it into practice
- Learn the dua of Dhun-Nun by heart, with its meaning, and say it when you feel overwhelmed.
- Keep one short dua ready for panic moments, such as Ya Hayyu Ya Qayyum with the meaning in mind.
- Read the original wording on Sunnah.com and say the Arabic as taught, with a teacher if you can.
- Speak to a doctor or a qualified counsellor if your distress lasts or affects your sleep, work or safety.
- Tell a trusted family member or friend, and ask a qualified scholar about anything unclear.
Sources
- Source: Jami` at-Tirmidhi 3505, Sunnah.com
- Source: Sahih Al-Bukhari 6345, Sunnah.com
- Source: Jami` at-Tirmidhi 3524, Sunnah.com
- Source: Brief Prophetic Supplication (dua) for Difficulties, SeekersGuidance
- Source: The Prophet’s supplication for distress and sorrow, Abu Amina Elias
- Source: Dua for Anxiety and Sorrow, Islamestic
- Source: Dua of Yunus (Jonah), My Islam
- Source: Dua for Removing Difficulties, DeenUp
- Source: What Do the Scholars Say About Muslims Experiencing Depression or Anxiety, Shaykh Rasoul
- Source: Is Therapy Halal in Islam, Shifa Therapy
This article is general Islamic education, not a personal fatwa. For your own situation, please ask a qualified scholar. Spotted a mistake? Tell us and we will fix it.


1 thought on “Duas for Hardship and Distress: The Words of Yunus (RA)”