- Published on
Dua for Headache: Islamic Supplications and Ruqyah for Pain Relief
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

A headache is perhaps the most universal human pain — the one that stops work mid-sentence, interrupts prayer, and makes the simplest tasks feel impossible. Yet even in this ordinary suffering, Islam offers something: a way to respond that is both practical and spiritual.
The Prophet ﷺ did not simply endure pain. He taught specific duas and practices for it. He performed ruqyah — healing recitation — on himself and others. He combined these spiritual means with physical ones, encouraging his Companions to seek medicine alongside supplication.
You do not have to choose between dua and paracetamol. You do not have to suffer silently or feel guilty for wanting relief. What Islam asks is simply this: in the moment of pain, remember Allah.
The Dua for Headache and Physical Pain
بِسْمِ اللَّهِ × 3 أَعُوذُ بِعِزَّةِ اللَّهِ وَقُدْرَتِهِ مِنْ شَرِّ مَا أَجِدُ وَأُحَاذِرُ × 7
Bismillah (three times) A'udhu bi'izzatillahi wa qudratihi min sharri ma ajidu wa uhadhir (seven times)
"In the name of Allah" (three times) "I seek refuge in the might of Allah and His power from the evil of what I find and what I fear." (seven times)
— (Sahih Muslim 2202)
How to perform it: Place your right hand on the area of pain (or the forehead for a headache), say Bismillah three times, then say the A'udhu supplication seven times while keeping your hand on the painful area.
The Prophet taught this specifically as a response to physical pain. Uthman ibn Abi al-'As رضي الله عنه reported that he complained to the Prophet of pain he had been experiencing since becoming Muslim. The Prophet said: "Place your hand on the part of your body where you feel pain and say 'Bismillah' three times and seven times: A'udhu bi'izzatillahi wa qudratihi min sharri ma ajidu wa uhadhir." (Sahih Muslim 2202)
When to say it: Whenever you experience pain — place the hand, say the words. It can be repeated as many times as needed.
The Healing Recitation (Ruqyah)
بِسْمِ اللَّهِ أَرْقِيكَ مِنْ كُلِّ شَيْءٍ يُؤْذِيكَ، مِنْ شَرِّ كُلِّ نَفْسٍ أَوْ عَيْنٍ حَاسِدٍ، اللَّهُ يَشْفِيكَ
Bismillahi arqika min kulli shay'in yu'dhik, min sharri kulli nafsin aw 'aynin hasid, Allahu yashfik
"In the name of Allah I perform ruqyah for you — from everything that harms you, from the evil of every soul or envious eye. May Allah heal you."
— (Sahih Muslim 2186)
This can be recited over yourself or over another person who is suffering. It is part of the established Sunnah practice of healing supplication.
The Story Behind Dua for Pain
The Companion Uthman ibn Abi al-'As رضي الله عنه came to the Prophet describing a pain he had experienced since accepting Islam. The Prophet did not dismiss it, did not tell him to simply be patient, and did not only tell him to take medicine. He gave him this specific dua with a specific physical action: place the hand on the pain, say these words.
This narration is significant for what it reveals about the prophetic approach to suffering:
First, it normalizes seeking help for pain. Uthman was a Companion, a committed Muslim, and yet he came to the Prophet for help with a headache or bodily pain. There is nothing weak about this.
Second, it combines the physical (hand on the area) with the verbal (dua) — an integrated approach to healing that involves both body and speech.
Third, it attributes healing ultimately to Allah: "I seek refuge in the might of Allah and His power." The dua does not claim a mechanical cure. It positions the supplicant within Allah's mercy and power, asking to be protected from the harm they are experiencing.
How to Use Dua When You Have a Headache
When a headache strikes, the immediate responses are usually to reach for medication or to simply wait it out. The Islamic approach adds a layer that does not replace these but situates them within worship.
Do the hand-placement dua first. Even before taking medication, place your right hand on your forehead, say Bismillah three times and the A'udhu supplication seven times. It takes less than a minute. This is not superstition — it is a sunnah act of turning to Allah at the moment of need.
Take appropriate medication when needed. The Prophet encouraged seeking medicine. There is no merit in suffering unnecessarily when Allah has provided remedies. Combine the dua with whatever treatment is appropriate.
Recite Surah Al-Fatiha over the area. The Prophet called Al-Fatiha Ruqyah — a healing recitation — in a narration where a Companion healed a man with a snakebite by reciting it (Sahih Bukhari 2276). Al-Fatiha recited with awareness and blown over the hands, then passed over the head, is a Sunnah practice for healing.
Use the pain as an opportunity for tawbah. The Prophet connected pain to expiation of sins (Sahih Bukhari 5641). A moment of pain can be a moment of turning to Allah: "Ya Allah, forgive me. If this pain is removing any of my shortcomings, I accept it. And I ask You for relief."
If the headache is chronic or severe, see a doctor. Islam does not honor suffering that could be addressed medically. Chronic pain conditions deserve medical attention. Dua is a parallel practice, not a substitute for diagnosis and treatment. See dua for health for the Islamic framework on seeking treatment.
Build a Daily Practice of Turning to Allah in Every State
DeenBack helps you make dua a reflex — not just something you reach for in crises, but a consistent daily practice that makes you remember Allah in pain and in ease.
Free download. Premium features available in-app.
Related Duas for Healing and Relief
Dua for healing (general):
اللَّهُمَّ رَبَّ النَّاسِ، أَذْهِبِ الْبَأْسَ، اشْفِهِ وَأَنْتَ الشَّافِي، لَا شِفَاءَ إِلَّا شِفَاؤُكَ
Allahumma Rabb an-nas, adhhibil-ba's, washfihi wa anta ash-Shafi, la shifa'a illa shifa'uk
"O Allah, Lord of mankind, remove the harm and heal. You are the Healer. There is no healing except Your healing." — (Sahih Bukhari 5743)
For broader health-related supplications, see dua for shifa and dua for pain. If you are recovering from an illness, dua for quick recovery covers the healing journey. And for visiting someone else who is unwell, dua when visiting the sick has the specific words to say.
Common Questions
Why do I still have a headache after making dua?
Dua is not a guarantee of immediate relief — it is a relationship with Allah who knows what is best for you in every moment. Sometimes relief comes quickly; sometimes Allah withholds it for reasons that serve you better in the long run. Continue the dua, continue the treatment, and trust the timing to Allah.
Is it okay to complain to Allah about pain?
Yes — completely. The prophets did. Ayyub (Job) said: "Adversity has touched me, and you are the Most Merciful of the merciful." (Quran 21:83). Complaining to Allah in dua is not a failure of trust — it is the honest expression of need to the One who can address it. What Islam discourages is complaining to people in a way that suggests Allah has been unjust.
Can I perform ruqyah for my child who has a headache?
Yes. The Prophet performed ruqyah on children. The specific dua Bismillahi arqika min kulli shay'in yu'dhik can be said over children. You can also recite Surah Al-Fatiha and the Mua'wwidhatayn and blow gently over the child.
What if I am in prayer and get a severe headache — should I shorten the prayer?
Yes, if the pain is severe enough to make concentration impossible, shortening obligatory prayers is permitted. The Prophet said: "When any of you leads the people in prayer, he should be brief." (Sahih Bukhari 90). Permissibility for the one leading applies even more to the individual in their own prayer during illness.
Pain Does Not Mean Abandoned
The most important thing to hold onto when you are in pain — any pain — is that it is not punishment in the sense of divine rejection. The Prophet ﷺ was among those who suffered most, in every dimension. Yet he was the most beloved to Allah.
Pain is a test. A call back to Allah. An opportunity to demonstrate patience and trust that earns what the Quran promises: "Indeed, the patient will be given their reward without account." (Quran 39:10)
Say the dua. Take the medicine. Ask Allah for relief. And if the headache persists, trust that every moment of it is counted.
Turn Every State Into a Connection With Allah
DeenBack helps you build the daily supplication habits that make dua your first response to pain, not your last resort — because consistency in good times is what carries you through the difficult ones.
Free download. Premium features available in-app.
Frequently Asked Questions
What is the Islamic dua for headache relief?
The Prophet prescribed placing the hand on the area of pain and saying: Bismillah (three times), then: A'udhu bi'izzatillahi wa qudratihi min sharri ma ajidu wa uhadhir — seven times. This is narrated in Sahih Muslim 2202 and is one of the most directly applicable duas for physical pain including headaches.
What is ruqyah and can it help with headaches?
Ruqyah is the practice of reciting specific Quran verses and duas for healing. The Prophet performed ruqyah on himself and his Companions. For headaches and pain, the most recommended ruqyah includes Surah Al-Fatiha (which the Prophet called a cure for every disease), Ayat Al-Kursi, and the Mua'wwidhatayn (Surah Al-Falaq and An-Nas). These can be recited and blown over the affected area or the hands.
Did the Prophet suffer from headaches?
Yes. The Prophet experienced severe head pain during his final illness. He also suffered from what classical scholars describe as migraines at various points in his life. The fact that a person of his spiritual rank experienced pain is one of Islam's clearest teachings that physical pain is not a sign of spiritual failure or abandonment by Allah.
Should I take medication for headaches or only rely on dua?
Both. The Prophet said: Make use of medicine, for Allah has not created a disease without creating a cure for it (Abu Dawud 3855). Dua and medication are not alternatives — they are complementary. Take appropriate pain relief while also making dua. Trust that Allah is the ultimate Healer who works through both means.
How does Islam view physical pain as a spiritual experience?
The Prophet said: No fatigue, nor disease, nor sorrow, nor sadness, nor hurt, nor distress befalls a Muslim — even if it were the prick he receives from a thorn — but that Allah expiates some of his sins for that (Sahih Bukhari 5641). Every moment of pain patiently endured becomes a form of expiation and elevation. This does not make pain pleasant, but it gives it meaning.
