Prayer for Surgery: Islamic Duas for Before and After Your Operation

If you’re looking for a prayer for surgery, start with this dua. The Prophet ﷺ made it for people who were sick, and you can say it quietly in the car, in the waiting room, or while the nurses get you ready.

اللَّهُمَّ رَبَّ النَّاسِ، أَذْهِبِ الْبَأْسَ، اشْفِ أَنْتَ الشَّافِي، لَا شِفَاءَ إِلَّا شِفَاؤُكَ، شِفَاءً لَا يُغَادِرُ سَقَمًا

Allahumma Rabban-nasi, adhhibil-ba’sa, ishfi Antash-Shafi, la shifa’a illa shifa’uk, shifa’an la yughadiru saqama.

Meaning: O Allah, Lord of mankind, take away the harm and heal. You are the Healer. There is no healing except Your healing, a healing that leaves no illness behind.

Aisha reported that whenever the Prophet ﷺ visited a patient, or a patient was brought to him, he made this dua (Sahih al-Bukhari 5675). Narrations vary slightly in wording, so you may hear a version with a small “wa” before “Anta.” The meaning is the same.

This page is written from an Islamic perspective. Every prayer for surgery here is either a dua from the Quran or Sunnah with its source, or a plain-English prayer labeled original. You’ll also find sections for family members, for parents of a child having surgery, for same-day procedures, and a practical guide to prayer times and anesthesia.

Quick Picks: Which Prayer for Surgery Fits Which Moment

MomentDuaSource
The night beforeA‘udhu bika minal-hammi wal-hazan…Bukhari 6369
Asking Allah to heal youAllahumma Rabban-nasi…Bukhari 5675
Pain, or fear of painBismillah ×3, then A‘udhu billahi… ×7Muslim 2202
Feeling helplessAnni massaniyad-durru…Quran 21:83
For someone elseAs’alullahal-‘Azim… ×7Abu Dawud 3106
After surgeryWa idha maridtu fahuwa yashfinQuran 26:80

Prayer for Surgery in Islam: What You’re Really Asking For

A prayer for surgery in Islam is a dua like any other. You’re speaking directly to Allah, either in words the Prophet ﷺ taught or in your own. You can ask for a steady heart, for skilled and careful hands in the operating room, for the anesthesia to go smoothly, and for healing afterward.

None of that replaces the medical side. When people asked the Prophet ﷺ whether they should seek treatment, he told them to, because Allah has not made a disease without also making a remedy, except old age (Sunan Abi Dawud 3855). Agreeing to an operation your doctors recommend is part of that advice, not a lapse in trust. It’s the same idea as the man who asked whether to tie his camel or simply trust Allah and was told to do both, which we explain on our prayers for protection page. You follow the medical plan, and you ask Allah for what no plan can guarantee.

It’s Okay to Be Afraid

Fear before an operation is normal, and it doesn’t mean your faith is thin. The Quran records Ayyub (Job) calling out to his Lord that hardship had touched him. He names his pain plainly (Quran 21:83). You can do the same. Tell Allah exactly what scares you, whether that’s the anesthesia, the pain, being away from your kids, or the result. He already knows, and putting it into words is part of dua.

Duas to Say Before Surgery

The Healing Dua (Allahumma Rabban-nasi)

Mobile prayer card framed with white jasmine and sage watercolor botanicals featuring The Healing Dua translation for surgery and recovery.

This is the dua at the top of the page, and the best-known prayer for surgery and illness in the Sunnah. The wording is ishfi, “heal,” with no object attached, so it works whether you’re asking for yourself or for someone else. Say it once or repeat it, silently or aloud.

The Dua for Pain (Sahih Muslim 2202)

Uthman ibn Abi al-As complained to the Prophet ﷺ about a pain in his body. The Prophet ﷺ told him to put his hand on the place that hurts, say Bismillah three times, and then say the following seven times (Sahih Muslim 2202):

أَعُوذُ بِاللَّهِ وَقُدْرَتِهِ مِنْ شَرِّ مَا أَجِدُ وَأُحَاذِرُ

A‘udhu billahi wa qudratihi min sharri ma ajidu wa uhadhir.

Meaning: I seek refuge in Allah and in His power from the evil of what I feel and what I fear.

The last phrase covers both the pain you have now and the fear of what’s coming, which makes it a useful prayer for surgery morning. The HadeethEnc commentary on this hadith says it applies to any physical pain.

A practical note: if the area has been marked, prepped or bandaged, you don’t need to touch it. Keep your hand nearby or simply say the words. If you’re unsure, ask the nurse.

Ayyub’s Call (Quran 21:83)

أَنِّي مَسَّنِيَ الضُّرُّ وَأَنتَ أَرْحَمُ الرَّاحِمِينَ

Anni massaniyad-durru wa Anta arhamur-rahimin.

Meaning: Hardship has touched me, and You are the Most Merciful of the merciful.

This is what Ayyub said when he was suffering. It doesn’t spell out a request. It states his need and appeals to Allah’s mercy, which makes it a good prayer for surgery when you’ve run out of your own words.

For a Racing Heart the Night Before

The Prophet ﷺ also asked Allah for protection from worry and grief, which makes this a natural fit for the night before an operation (Sahih al-Bukhari 6369). The dua opens like this:

اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ

Allahumma inni a‘udhu bika minal-hammi wal-hazan.

Meaning: O Allah, I seek refuge in You from worry and grief.

The full dua continues with other things the Prophet ﷺ sought refuge from. You’ll find it on our prayers for protection page, along with Ayat al-Kursi before sleep.

A Short Prayer for Surgery When You Can’t Find the Words

A short prayer for surgery is enough, and personal dua can be made in any language. These are original prayers, not reported wordings of the Prophet ﷺ. Use them as they are or change them.

The night before (original): Ya Allah, tomorrow I’ll be in a room I can’t control, and tonight I’m handing it to You. Quiet the part of me that keeps running through what could go wrong. Let me sleep, and let me wake up steady.

Before you leave home (original): Ya Allah, I’m walking into this with a nervous heart, and You know every reason why. Guide the people who will be treating me. Steady their hands and keep their minds clear. Whatever happens in that room, let me come out of it with my faith intact, and let it be good for me.

For the surgical team (original): Ya Allah, give the surgeon, the anesthesiologist and the nurses focus, skill and care today. Let nothing be missed. Reward them for the work they do for people who can’t help themselves.

While they’re preparing you: You may only have a few seconds, so keep it small. Say Bismillah. Say Ya Shafi, heal me (Ash-Shafi is the name used in the Prophet’s dua above). Or say, Ya Allah, I’m putting this in Your hands. Repeat whichever one holds you steady.

Outpatient and Day Surgery

If you’re going home the same day, your prayer for surgery has to fit around a short, busy schedule: check-in, forms, waiting, and the ride home. Clinics often ask for an adult to take you home, so follow your clinic’s instructions and tell the person with you that you’d like a quiet minute before you go in.

For same-day surgery (original): Ya Allah, I’m walking in and walking out on the same day, so be with me at both doors. Keep me steady while I wait, give the team clear minds and gentle hands, and when I’m back home, ease the first night and the days after.

Calming Pre-Surgery Nerves: Dua Plus Practical Steps

Hospitals and medical centers say anxiety before surgery is normal. Their advice fits well beside a prayer for surgery:

Five-step vertical infographic titled Calming Pre-Surgery Nerves: Dua Plus Practical Steps outlining spiritual and practical preparation from days before surgery to pre-op.

  • Memorial Sloan Kettering’s patient guide says noticing and managing anxiety can lower stress and support recovery.
  • Yale Medicine suggests contacting the anesthesiology team before the day if your anxiety is intense, because knowing the anesthesia plan can ease it.
  • Healthdirect Australia notes that you might not meet your anesthetist until the day of surgery, so it helps to ask your doctor about the anesthetic beforehand.

Put together, a simple routine around your prayer for surgery might look like this:

  1. Days before: Write down your questions for the surgeon and anesthesiologist, and ask them. Then make dua for a clear head.
  2. The night before: Say the dua for worry and grief, or Ayyub’s dua, and go to sleep.
  3. The morning of: Say the healing dua. Follow the fasting and arrival instructions exactly.
  4. In pre-op: Say the dua for pain, or whichever short words steady you.
  5. Right before you go in: Bismillah, and leave the rest with Allah.

If the anxiety is constant or is making it hard to sleep or function, please talk to your doctor or a qualified counselor as well. Dua and professional help don’t compete. They go together.

Praying for a Loved One Having Surgery

A prayer for surgery isn’t only for the patient. Ibn Abbas reported that the Prophet ﷺ said that whoever visits a sick person whose time has not come, and says the following seven times in his presence, Allah will heal him of that illness (Sunan Abi Dawud 3106, graded sahih by al-Albani on Sunnah.com):

Botanical watercolor prayer card reading Praying for a Loved One Having Surgery with the quote I ask Allah, the Almighty, Lord of the Mighty Throne, to heal you.

أَسْأَلُ اللَّهَ الْعَظِيمَ رَبَّ الْعَرْشِ الْعَظِيمِ أَنْ يَشْفِيَكَ

As’alullahal-‘Azima Rabbal-‘Arshil-‘Azimi an yashfiyak.

Meaning: I ask Allah, the Almighty, Lord of the Mighty Throne, to heal you.

To a woman, the last word becomes yashfiyaki. The report ties this dua to healing from Allah. As with every dua, the outcome is His, so say it with hope and leave the result with Him.

You don’t have to be in the room. If you can’t visit before the operation, say it for them from wherever you are, and send a message so they know.

For the waiting room (original): Ya Allah, I’m sitting here and all I can do is ask You. You’re with them in that room even though I’m not. Keep them safe, bring them through, and give those of us waiting patience until we hear.

Praying for a Child Having Surgery

Parents carry a different kind of fear. The two healing duas above, Allahumma Rabban-nasi and As’alullahal-‘Azim, can both be said as a prayer for surgery for a child. This original prayer is for the hours around the operation:

For a child’s surgery (original): Ya Allah, my child is small and doesn’t understand what’s about to happen. Be gentle with them. Keep them from fear and pain as much as You will, guide the hands that will care for them, and give me the calm I need to be steady for them. Bring them back to me healed.

If your child is old enough, you can teach them one short word to say while you hold their hand: Bismillah.

Salah, Wudu and Anesthesia: Sort This Out Before the Day

Beside any prayer for surgery sits a practical question for Muslim patients: what happens to my prayers? Scholars have addressed this, and their answers aren’t identical. What follows summarizes published Q&A answers. It isn’t a ruling for your case.

  • Missed prayers after anesthesia. One IslamQA answer says a patient who wakes from anesthesia should make up the prayers missed during it. A Fatwa-Online answer treats unconsciousness from treatment like sleep, so the prayers are made up, unless it lasts longer than three days.
  • Praying before you go under. A Shafi’i answer on SeekersGuidance says that if prayer time begins and passes before you lose consciousness, you should pray it on time if possible. It also says that in a medical setting the paired prayers (Dhuhr with Asr, Maghrib with Isha) may be joined. Positions on joining prayers vary, so this is one to ask about.
  • When you truly can’t pray. A Hanafi fatwa from Darul Ifta Birmingham says that if a patient can’t pray even with head movements, the prayer isn’t obligatory, and there’s no make-up if the missed prayers exceed five.

What to do in practice:

  • Tell your care team you pray, and ask early whether the schedule can work around a prayer time. Don’t delay urgent care for this, and follow the fasting instructions your surgeon gives you.
  • If you have an IV, a dressing or a wound that makes wudu hard, ask a scholar how to handle it. Don’t guess.
  • Ask your own scholar or imam which position applies to you. The right answer can depend on your school of thought and on the details of your surgery.

Duas After Surgery: Recovery and Gratitude

When you wake up, your prayer for surgery turns into a prayer of thanks, so start there. After that, the Quran gives you words for recovery. Ibrahim said:

Soft sunrise watercolor greeting card titled Duas After Surgery: Recovery and Gratitude featuring the quote And when I am ill, it is He who cures me.

وَإِذَا مَرِضْتُ فَهُوَ يَشْفِينِ

Wa idha maridtu fahuwa yashfin.

Meaning: And when I am ill, it is He who cures me (Quran 26:80).

You can also return to the healing dua, Allahumma Rabban-nasi, as often as you like while you rest.

For gratitude (original): Alhamdulillah, You brought me through it. Thank You for the surgeons and nurses, for the people who waited and prayed for me, and for every breath that came easily. Let this recovery be gentle, and let me use my health well.

When recovery is slow (original): Ya Allah, I’m tired, and healing feels slower than I hoped. Give me patience that doesn’t run out. Help me accept the help people offer. Ease the pain and bring me back to strength in the way that’s best.

The people who looked after you deserve to hear thanks from you. Our guide to ways to say thank you in Islam explains jazakallahu khayran and barakallahu feek, and how to reply to them. If a friend is recovering at home, a short note can lighten a slow day, and our Islamic good morning messages have warm options you can send.

Sometimes an operation doesn’t fix everything, or complications arrive. That’s hard, and no page can explain it from the outside. Ask Allah for patience as well as healing, and if the “why” keeps weighing on you, talk to someone you trust, such as your imam or a Muslim chaplain.

What Dua Can and Can’t Promise

The STEP trial, a clinical trial of heart bypass patients published in 2006, found that prayer offered by outside groups wasn’t associated with fewer complications within 30 days. That study treated prayer as a medical treatment delivered by strangers. A prayer for surgery in Islam is something else: a servant asking their Lord.

So don’t treat dua as a lever that makes surgery go well, and don’t read a hard outcome as proof you did it wrong. Dua gives you somewhere to bring your fear and something to hold on to while the team does its work. Healing is from Allah, and your doctors are among the means He uses.

Short Messages to Send Before Surgery

No one knows how a surgery will go, so skip “everything will be fine.” You can’t promise that. Offer a prayer for surgery instead. These are original.

Lavender and forget-me-not watercolor card titled Short Messages to Send Before Surgery with a comforting prayer message for a friend facing surgery.

  • To a parent: Mom, I’ve got the waiting room covered. You just get through it. I’ll be asking Allah to bring you back to us safe and well.
  • To a friend who’s scared: Being scared makes sense. Whatever you’re most afraid of, say it to Allah tonight, in your own words. I’ll be doing the same for you.
  • To your spouse: Whatever the morning brings, we face it together. I’m asking Allah to put His healing into your doctors’ hands and bring you home to me soon.
  • To a coworker: Wishing you a smooth surgery and an easy recovery. Forget about work for a while. You’re in my prayers.
  • To a child going in: You’re so brave. Say Bismillah, and I’ll be right here when you wake up.
  • To someone far away: I can’t be there, but my dua can. May Allah put His healing into your recovery and keep you comfortable.
  • After the operation: Alhamdulillah, it’s over. Rest as much as they’ll let you, and let the rest of us handle everything else. Asking Allah to make each day a little easier.

Frequently Asked Questions About Prayer for Surgery

What is the best prayer for surgery in Islam?

The best-known prayer for surgery in the Sunnah is Allahumma Rabban-nasi (Sahih al-Bukhari 5675), the dua at the top of this page. If that feels like too much to memorize, say Bismillah and ask Allah in your own words for a steady heart, a skilled team and a gentle recovery. Personal dua in any language is fine.

Can someone else make dua for me?

Yes. The dua in Sunan Abi Dawud 3106 is a visitor’s dua for a sick person, which shows that praying for someone else’s healing is part of the Sunnah. You can ask family, friends or your imam to make dua for you, and you can make it for them.

Is it okay to ask for a specific outcome?

Yes. The healing dua itself asks for something specific: ishfi, “heal.” Asking Allah for a safe operation and a full recovery is the same kind of request. Pair it with trust and patience.

Should I pray istikhara before agreeing to surgery?

Istikhara is the prayer for guidance the Prophet ﷺ taught for decisions where you have a real choice (Sahih al-Bukhari, via HadeethEnc). It doesn’t replace medical advice. Ask your doctors the questions you need answered, talk to people you trust, and pray istikhara if you’re genuinely torn between permissible options. If your surgeon says the operation is urgent, there may be no decision left to pray about, and a scholar can advise you on your own case.

Can dua help with anxiety before surgery?

Many people find that praying steadies them, because dua gives fear somewhere to go. A prayer for surgery isn’t a medical treatment for anxiety, though. If your nerves are intense, tell your surgeon or anesthesiologist before the day, since knowing the anesthesia plan can ease them. The practical steps above work well alongside dua.

What if my surgery is an emergency and there’s no time to prepare?

You don’t need to do everything on this page. Say Bismillah, and one short prayer for surgery, such as the healing dua or Ayyub’s call. If there’s a moment, tell the staff that you’re Muslim and that prayer matters to you. The rest can wait until afterward.

What if I’m awake during the procedure?

Not every operation uses general anesthesia. Healthdirect lists general, local and light sedation as options. If you’re awake, you can say short phrases silently, such as Bismillah or the healing dua. Tell the team what helps you stay calm, and ask your anesthesiologist what to expect.

Where to Start If You Only Have a Minute

You don’t need to learn everything on this page. Pick one prayer for surgery from this page and learn it before your surgery date, or before someone you love goes in, and send one message to the person who needs it. For more duas by moment, browse our prayers.

May Allah ease the operation, guide the hands that carry it out, and grant a full and gentle recovery.

Sources

This page offers spiritual guidance, not medical advice. Follow your surgeon’s and anesthesiologist’s instructions, and ask a qualified scholar about rulings that apply to your situation.

1 thought on “Prayer for Surgery: Islamic Duas for Before and After Your Operation”

Comments are closed.