The dua for anxiety and overthinking the Prophet ﷺ left is so precisely fitted to human distress that reciting it feels less like a formula and more like being seen. He knew anguish too.
The Prophet ﷺ was not a stranger to anguish. He knew grief, fear, uncertainty, and the particular weight of carrying a mission the world was not ready for. Among what he left us — alongside his example — is a set of supplications so precisely calibrated to the architecture of human distress that reading them feels less like reciting a formula and more like being understood. These are not vague, generic prayers. They name the specific components of a restless mind — worry, grief, weakness, the sense of being overwhelmed — and that naming is itself part of the relief. For the anxious, overthinking heart, the tradition offers a genuine toolkit of du‘a; here are its most important pieces and how to use them.
The Central Du‘a for Anxiety and Grief
The most comprehensive of these is the supplication the Prophet ﷺ taught for worry and grief, and its precision is remarkable. He said whoever is afflicted by anxiety or grief should say: “Allahumma inni a‘udhu bika min al-hammi wa’l-hazan, wa a‘udhu bika min al-‘ajzi wa’l-kasal, wa a‘udhu bika min al-jubni wa’l-bukhl, wa a‘udhu bika min ghalabatid-dayn wa qahri’r-rijal” — O Allah ﷻ, I seek refuge in You from worry and grief, from weakness and laziness, from cowardice and miserliness, and from being overwhelmed by debt and overpowered by others (Bukhari 6369). Look at how it maps the terrain of distress: al-hamm (anxiety about the future) and al-hazan (grief over the past) — the two directions in which a troubled mind travels; then the paralysis (weakness, laziness), the fear (cowardice), the grasping (miserliness), and the external pressures (debt, the domination of others) that so often underlie worry. To recite it is to hand each of these, by name, to Allah ﷻ.
The Du‘a of Yunus ﷺ for Overwhelm
For the moment of feeling trapped and overwhelmed — the sensation of being swallowed by one’s circumstances — the tradition offers the du‘a of Yunus ﷺ, said from within the darkness of the whale’s belly: “La ilaha illa anta, subhanaka, inni kuntu min al-zalimin” — There is no god but You; glory be to You; indeed I was among the wrongdoers (Quran 21:87). The Prophet ﷺ said: “No Muslim ever supplicates with these words for anything but that Allah ﷻ answers him” (al-Tirmidhi 3505). It is a du‘a for the person in the depths, and its structure is instructive: it begins by affirming Allah ﷻ, then glorifies Him, then acknowledges one’s own shortcoming — turning the whole attention away from the crushing circumstance and toward the One who can lift it. For the overthinking mind spiralling in its own darkness, it is a rope thrown down.
The Du‘a of Reliance and Sufficiency
When the anxiety is the fear of what others or events may do — the sense of facing an overwhelming threat — the tradition gives the words the believers said when told a great army had gathered against them: “Hasbunallahu wa ni‘mal wakil” — Allah ﷻ is sufficient for us, and He is the best disposer of affairs (Quran 3:173). It is the same phrase Ibrahim ﷺ is reported to have said as he was thrown into the fire. The Quran records that those who said it “returned with favour from Allah ﷻ and bounty, no harm having touched them” (3:174). For the anxious heart convinced it must be sufficient for everything itself, this du‘a relocates the sufficiency where it belongs: with Allah ﷻ, who is enough.
How to Use the Toolkit
Learn a few by heart, and reach for them. These du‘as help only when they are available in the moment of distress. Memorising even one or two — the du‘a of Yunus ﷺ is short and easily learned — means that when the mind begins to spiral, you have something specific to reach for rather than being left alone with the thoughts.
Say them with presence, not as a formula. The Prophet ﷺ taught that Allah ﷻ does not answer a du‘a from a heedless, inattentive heart (al-Tirmidhi 3479). The power of these supplications is in meaning them — actually handing your worry, by name, to Allah ﷻ — not in rattling them off. Slow down, feel the words, and let the naming of your distress be a genuine turning to Him.
Bring them to prostration and the night. The closest a servant is to Allah ﷻ is in prostration (Muslim 482), and the last third of the night is a time of accepted du‘a (Bukhari 1145). Bringing these supplications to those moments — pouring out the anxiety in sujud, or in the stillness before dawn — joins the right words to the nearest points, and is where many have found the deepest relief.
Let du‘a accompany, not replace, other means. These supplications are a genuine spiritual resource, and for ordinary worry and overthinking they are among the best the tradition offers. But where anxiety is severe and persistent, du‘a accompanies the seeking of professional help — it does not replace it. The Prophet ﷺ, who taught these du‘as, also commanded seeking treatment for every ailment (Abu Dawud 3855). Pour out your heart to Allah ﷻ, take the means, and hold both together.
The Prophet ﷺ knew anguish, and left the anxious, overthinking heart a toolkit of supplications that name its distress precisely and hand it, piece by piece, to Allah ﷻ: the du‘a of worry and grief, the du‘a of Yunus ﷺ for overwhelm, and Hasbunallah for the sense of threat. Learn a few by heart, say them with presence, bring them to sujud and the night — and where the anxiety is severe, let them walk alongside professional help. To make du‘a is to stop facing the restless mind alone.
Frequently Asked Questions
What is the dua for anxiety and overthinking in Islam?
The central one is the Prophet’s ﷺ supplication for worry and grief: “Allahumma inni a‘udhu bika min al-hammi wa’l-hazan…” — O Allah ﷻ, I seek refuge in You from worry and grief, weakness and laziness, cowardice and miserliness, and being overwhelmed by debt and overpowered by others (Bukhari 6369). It names the specific components of a restless mind and hands each to Allah ﷻ. The du‘a of Yunus ﷺ and Hasbunallah are also key.
What is the dua of Yunus ﷺ for feeling overwhelmed?
From within the whale’s belly, Yunus ﷺ said: “La ilaha illa anta, subhanaka, inni kuntu min al-zalimin” — There is no god but You; glory be to You; indeed I was among the wrongdoers (Quran 21:87). The Prophet ﷺ said no Muslim supplicates with these words for anything but that Allah ﷻ answers him (al-Tirmidhi 3505). It turns the attention from the crushing circumstance to the One who can lift it — a rope thrown down to the overthinking mind.
How do I use these duas effectively?
Learn a few by heart so they are available when the mind begins to spiral; say them with presence and meaning, not as a rushed formula, since Allah ﷻ does not answer a heedless heart (al-Tirmidhi 3479); and bring them to the nearest points — prostration (Muslim 482) and the last third of the night (Bukhari 1145). Actually hand your worry, by name, to Allah ﷻ, rather than reciting mechanically.
Does making dua for anxiety really help?
Yes — du‘a is a genuine spiritual resource, and for ordinary worry and overthinking these supplications are among the best the tradition offers, turning the anxious heart from facing its fears alone toward the One who holds them. But where anxiety is severe and persistent, du‘a accompanies professional help rather than replacing it. The Prophet ﷺ who taught these du‘as also commanded seeking treatment for every ailment (Abu Dawud 3855). Hold both together.
What dua do I say when I feel threatened or afraid?
Say “Hasbunallahu wa ni‘mal wakil” — Allah ﷻ is sufficient for us, and He is the best disposer of affairs (Quran 3:173). It is what the believers said when told a great army had gathered against them, and what Ibrahim ﷺ said in the fire; those who said it returned unharmed, with favour from Allah ﷻ (3:174). For the anxious heart that feels it must be sufficient for everything itself, it relocates the sufficiency with Allah ﷻ, who is enough.