When pain hits, whether a pounding headache, a bad back or a stomach cramp at 2am, most of us reach for painkillers and forget there is a Sunnah method made for exactly this moment. It is short and physical: you place your hand where it hurts and say specific words a set number of times. A Companion who complained to the Prophet ﷺ about pain was taught it, and he said Allah removed what he was suffering. In this guide I explain that method step by step, add the other authentic duas for healing, and cover what Islam says about pain, patience and medicine. Every source is linked.
Quick answer: Put your hand on the place that hurts, say “Bismillah” three times, then say “A’udhu billahi wa qudratihi min sharri ma ajidu wa uhadhir” seven times (Sahih Muslim 2202).
The Sunnah Dua for Pain
Uthman ibn Abi al-As (may Allah be pleased with him) complained to the Prophet ﷺ of a pain he had felt in his body since becoming Muslim. The Prophet ﷺ told him: “Place your hand on the part of your body that hurts and say Bismillah three times, then say seven times:”
أَعُوذُ بِاللَّهِ وَقُدْرَتِهِ مِنْ شَرِّ مَا أَجِدُ وَأُحَاذِرُ
Transliteration: A’udhu billahi wa qudratihi min sharri ma ajidu wa uhadhir.
Meaning: I seek refuge in Allah and His power from the evil of what I feel and what I fear.
Source: Sahih Muslim 2202
Step by step
- Place your right hand directly on the place that hurts: your forehead for a headache, your lower back, your stomach, your knee.
- Say “Bismillah” three times.
- Say the dua seven times, slowly, with your hand still in place.
- Repeat whenever the pain returns. There is no limit on how often you can use it.
Why the words fit pain so well
The phrase “what I feel and what I fear” covers the two layers of pain. There is the pain itself, and there is the fear of what it might mean: is this serious, will it get worse, will I be able to work tomorrow? The dua hands both to Allah. The first time I read it that way, it changed how I say it. I’m not just asking for the ache to stop. I’m asking for protection from the worry around it too.
Other Authentic Duas for Pain and Healing
Allahumma Rabban-Nas
Aishah (may Allah be pleased with her) said that when someone in the household was ill, the Prophet ﷺ would wipe over them with his right hand and say this dua (Sahih al-Bukhari 5743). You can say it for yourself by changing ishfihi (“heal him”) to ishfini (“heal me”).
اللَّهُمَّ رَبَّ النَّاسِ، أَذْهِبِ الْبَأْسَ، اشْفِنِي وَأَنْتَ الشَّافِي، لَا شِفَاءَ إِلَّا شِفَاؤُكَ، شِفَاءً لَا يُغَادِرُ سَقَمًا
Transliteration: Allahumma Rabban-nas, adhhibil-ba’s, ishfini wa antash-Shafi, la shifa’a illa shifa’uk, shifa’an la yughadiru saqama.
Meaning: O Allah, Lord of mankind, remove the harm and heal me, for You are the Healer. There is no healing except Your healing, a healing that leaves no illness behind.
Source: Sahih al-Bukhari 5743 (worded here for yourself)
Ruqyah with Surah Al-Fatihah
A group of Companions recited Surah Al-Fatihah over a man stung by a scorpion, and he recovered. When they told the Prophet ﷺ, he asked, “How did you know it is a ruqyah?” (Sahih al-Bukhari 5736). You can recite Al-Fatihah over yourself, blowing lightly onto your hand and wiping the painful area.
The Three Quls
During his final illness, the Prophet ﷺ recited Al-Ikhlas, Al-Falaq and An-Nas, blew into his hands and wiped over his body (Sahih al-Bukhari 5016). This is the same practice many of us do before sleep, and it is equally suited to times of pain.
The dua of Prophet Ayyub
No prophet is more associated with long suffering than Ayyub (peace be upon him). His dua is short and honest:
أَنِّي مَسَّنِيَ الضُّرُّ وَأَنتَ أَرْحَمُ الرَّاحِمِينَ
Transliteration: Anni massaniyad-durru wa anta arhamur-rahimin.
Meaning: Indeed, harm has touched me, and You are the Most Merciful of those who show mercy.
Source: Quran 21:83
Notice what he did not do: he did not complain about Allah. He described his pain to Allah and appealed to His mercy. Allah’s response in the next verse was: “So We answered him and removed his affliction” (Quran 21:84).
Is There a Specific Dua for Headache, Toothache or Stomach Pain?
People search for a separate dua for every kind of pain. The honest answer is that there is no authentic hadith with a special dua for headaches, toothache or stomach pain individually. The dua from Sahih Muslim 2202 is general and covers any pain, anywhere in the body. You simply place your hand on whichever part hurts.
Be cautious of pages offering specific “headache duas” or “stomach pain wazifas” with promised results and no source. The authentic method above is what the Prophet ﷺ actually taught for pain.
Pain, Patience and Reward
Islam does not ask you to pretend you are not hurting. When Aishah complained of a headache, the Prophet ﷺ replied, “Rather, I say: oh, my head!” (Sahih al-Bukhari 5666). He expressed his own pain openly. Saying “I’m in pain” is not a lack of sabr. Sabr means not objecting to Allah’s decree.
At the same time, pain is never wasted for a believer. The Prophet ﷺ said: “No fatigue, illness, worry, grief, harm or distress befalls a Muslim, not even the prick of a thorn, except that Allah expiates some of his sins because of it” (Sahih al-Bukhari 5641).
He also told us not to wish for death because of harm that befalls us. If we must say something, we should say: “O Allah, keep me alive as long as life is better for me, and take me when death is better for me” (Sahih al-Bukhari 5671).
Dua and Medicine Go Together
Reciting the dua for pain is not a replacement for seeing a doctor. The Prophet ﷺ said: “Allah has not sent down any disease without sending down a cure for it” (Sahih al-Bukhari 5678), and he told people to seek treatment (Sunan Abi Dawud 3855). Taking medicine is itself part of relying on Allah, just as tying your camel is.
So take the painkiller, book the GP appointment, and put your hand on the pain and say the dua. If pain is severe, sudden or unexplained, please seek medical help straight away (in the UK, NHS 111 or 999 in an emergency).
Related Guides
Frequently Asked Questions
What is the dua for pain in the body?
Place your hand on the painful spot, say Bismillah three times, then A’udhu billahi wa qudratihi min sharri ma ajidu wa uhadhir seven times (Sahih Muslim 2202).
How many times should I say the dua for pain?
Say “Bismillah” three times and the main phrase seven times, as the Prophet ﷺ instructed. You can repeat the whole sequence whenever the pain comes back.
Is there a dua for headache in Islam?
There is no separate authentic dua just for headaches. Use the general dua for pain with your hand on your head. It covers all pain.
Can I recite Al-Fatihah for pain?
Yes. The Companions used Al-Fatihah as a ruqyah and the Prophet ﷺ approved it (Sahih al-Bukhari 5736).
Does pain wipe away sins?
Yes. Even the prick of a thorn expiates sins for a believer (Sahih al-Bukhari 5641), so pain borne with patience is never wasted.
Should I still take medicine if I make dua?
Yes. The Prophet ﷺ encouraged seeking treatment, and taking medicine does not conflict with trusting Allah.
Final Thoughts
The next time pain wakes you at night, you will know exactly what to do: hand on the pain, Bismillah three times, and seven quiet repetitions of a dua that asks Allah to protect you from what you feel and what you fear. It takes less than a minute, and it is the method the Prophet ﷺ himself gave to someone in pain.
Pain often keeps us awake. Our guide to the dua before sleeping includes the three Quls and other protective adhkar for the night, and if pain has brought worry with it, the dua for anxiety, worry and grief may help too.




