500 children in Gaza, Sudan & 13 more countries are waiting for a guardian — earn 12 months of sadaqah jariyah today.
Sponsor a child500 children are waiting for a guardian — earn 12 months of Sadaqah Jariyah today.
Sponsor a child1st July 2026
The janazah prayer is the final act of mercy we're able to offer a fellow Muslim in this world, and if you've never prayed it before, it's completely natural to feel unsure of the steps in the moment you need them most. So many of us only learn this prayer when we're already grieving — which is exactly why we've put together this guide. Below, we'll walk you through the janazah prayer from the very first intention to the final tasleem, so that when the time comes, you can stand for your brother or sister with confidence, dignity, and a full heart.
If you're preparing to say goodbye to someone you love, many families find comfort in giving on their behalf, too — a form of sadaqah jariyah, charity whose reward never stops flowing. You might consider honouring their memory through our Water Well Appeal or our Olive Tree Appeal — a living legacy that continues to bring them reward, insha'Allah, long after we've said our goodbyes.
Janazah (also spelt "janaza") is the funeral prayer we offer for a Muslim who has passed away, before their burial. It's unlike any other prayer we perform: there's no ruku (bowing) or sujud (prostration) — we simply stand together, united in raising our hands for four takbeers, each one carrying its own recitation and dua. Praying janazah is fard kifayah, a duty upon the whole community rather than any one person: if enough of us come forward to pray it, the obligation is lifted from everyone else. That's precisely why we encourage as many people as possible to attend — so that the person we've lost is sent off surrounded by prayer.
The exact wording can vary slightly between the schools of thought (madhhabs), and that's completely normal — the structure below is agreed upon by the vast majority of scholars. Worshippers stand in rows facing the qibla, with the deceased placed in front of the imam, and the prayer is led together as one body.
"People are often surprised that there's no bowing or prostration in this prayer at all — it's one of the few salahs performed entirely standing. That simplicity is a mercy in itself, especially for those praying it for the very first time, often in grief."
— [Islamic Scholar Name], Human Appeal
Before you begin, make the intention in your heart to pray the janazah prayer for the person who has passed, seeking Allah's mercy and forgiveness on their behalf. You don't need to say it aloud — niyyah is simply a matter of sincerity between you and Allah.
Raise your hands to your ears and say "Allahu Akbar," then fold your hands as you would in any other prayer. After this first takbeer, recite Surah Al-Fatiha (followed in the Shafi'i, Maliki and Hanbali schools) or a short praise of Allah such as "Subhanaka Allahumma wa bihamdika..." (commonly followed in the Hanafi school). Both are correct and accepted, so follow whichever your imam or community observes.
Say "Allahu Akbar" again, without raising your hands this time, and send blessings upon the Prophet Muhammad ﷺ, most commonly through Durood Ibrahim — the same salutation we recite in the final sitting of our daily prayers.
Say "Allahu Akbar" a third time, and now turn to Allah in dua, asking for His mercy and forgiveness for the person you've come to pray for. A widely used dua for janazah prayer is:
"Allahumma-ghfir lihayyina wa mayyitina, wa shahidina wa gha'ibina, wa sagheerina wa kabeerina, wa dhakarina wa unthana."
("O Allah, forgive our living and our dead, those present and those absent, our young and our old, our males and our females.")
If the person who has passed is a child, we use a shorter dua instead, asking Allah to make them a means of intercession, reward, and patience for their parents.
Say "Allahu Akbar" for the fourth and final time. Many scholars recommend a brief pause here, or a short dua asking Allah not to deprive us of our reward for this prayer, and not to test us after this loss. In some traditions, this takbeer is kept silent — either way is accepted.
Close the prayer by turning your head to the right, then to the left, saying "Assalamu alaikum wa rahmatullah" ("Peace and the mercy of Allah be upon you") each time — the same tasleem that closes our five daily prayers. May Allah grant the departed ease, and grant those left behind patience and peace.
Yes — women are just as welcome to pray janazah as men. There is nothing in the Qur'an or Sunnah that reserves this prayer for men only. In some communities, local custom discourages women from attending the burial itself, but that's culture, not a religious ruling — the prayer can be performed by men and women alike, either together (with women's rows behind men's) or separately.
If this is your first time attending a Muslim funeral, whether as a guest, colleague, or friend of the family, we want you to feel prepared, not anxious. Here's what we'd gently suggest:
● Dress modestly and simply. Dark, plain clothing is customary. Sisters may wish to bring a headscarf, though it isn't compulsory for non-Muslim guests.
● Arrive in good time. The prayer itself is brief, so it's best to arrive early rather than risk missing it.
● Follow the congregation's lead. If you're not Muslim, or you're unsure of the prayer, it's entirely acceptable to stand respectfully at the back rather than join in.
● Keep your voice low. Loud conversation, laughter, or phone use during the prayer isn't appropriate.
● Offer condolences from the heart. Many Muslims say "Inna lillahi wa inna ilayhi raji'un" ("To Allah we belong and to Him we shall return"), though a simple, heartfelt "I'm so sorry for your loss" means just as much.
● Expect burial to follow soon after. Islamic tradition encourages burial as soon as possible, so the prayer and burial usually take place on the same day.
Grief doesn't end with the tasleem, and for many of us, the desire to keep giving on behalf of someone we've lost doesn't either. That's the beauty of sadaqah jariyah — ongoing charity whose reward keeps reaching them, long after we've returned home. Planting olive trees through our Olive Tree Appeal or providing clean water through our Water Well Appeal are two of the most enduring ways to do this — a living legacy that continues to nourish real communities, and, insha'Allah, continues to nourish their reward too.
Spiritual
Learn how to make dua in Islam with sincerity. Discover the meaning, etiquette, and steps of making dua to strengthen your connection with Allah (SWT).
Spiritual
Learn how to pray Taraweeh at home or in the Masjid. Our guide covers Taraweeh rakat, timing, and step-by-step instructions to help you make the most of Ramadan.
Spiritual
Yes, Qurbani can be offered for the deceased. Learn about its permissibility, how it benefits them, and insights for Dhul Hijjah. Read our guide now.
The main dua, recited after the third takbeer, asks Allah for forgiveness for the living and the dead: "Allahumma-ghfir lihayyina wa mayyitina, wa shahidina wa gha'ibina, wa sagheerina wa kabeerina, wa dhakarina wa unthana" ("O Allah, forgive our living and our dead, those present and those absent, our young and our old, our males and our females"). A shorter, different dua is used if the person who has passed is a child.
Yes, always. There's no restriction in Islamic teaching that prevents women from praying janazah. Some communities have their own customs around women attending the burial specifically, but the funeral prayer itself is open to men and women alike.
Dress modestly, arrive on time, keep your voice low, and follow the lead of those around you. If you're unsure of the prayer itself, it's completely fine to stand respectfully rather than join in, and a simple word of condolence to the family will always be received with gratitude.
Janazah is fard kifayah — a communal obligation upon the wider Muslim community, rather than a duty resting on any one individual. So long as enough people come forward to pray it, the obligation has been fulfilled on behalf of us all.
Most scholars advise against praying janazah during the three specifically prohibited times: at sunrise, when the sun is at its zenith, and at sunset. Outside of these windows, the prayer can be performed at any time — and Islamic tradition strongly encourages burial, and therefore the prayer, to take place as soon as reasonably possible after death.