🕌 Prayer · Mistakes & Corrections

Sujood as-Sahw: What to Do When You Make a Mistake in Prayer

Lost count mid-salah? Prayed an extra rakah without realizing? There's a simple, built-in fix for exactly this — two extra prostrations, not a restart.

📖 6 min read 🕌 Prayer 🗓️ Updated August 3, 2026
Table of Contents
  1. What Is Sujood as-Sahw?
  2. Which Scenario Am I In?
  3. Scenario 1: You Left Something Out
  4. Scenario 2: You Added Something Extra
  5. Scenario 3: You're Not Sure of the Count
  6. How to Actually Perform Sujood as-Sahw
  7. FAQ

What Is Sujood as-Sahw?

Sujood as-Sahw — the "prostration of forgetfulness" — is two extra prostrations performed to correct an unintentional mistake made during salah. It exists precisely because forgetting a detail mid-prayer is common and human, and Islam built in a straightforward fix rather than requiring the entire prayer to be repeated every time concentration slips.

It applies to unintentional errors only — an accidentally skipped part, an extra movement added without realizing, or genuine uncertainty about the count. It isn't a substitute for care in prayer, but it is a real, sufficient correction when a slip happens.

Which Scenario Am I In?

Almost every situation people search for falls into one of three categories. Figuring out which one you're in tells you what to do next.

Scenario 1: You Left Something Out

If you realize partway through, or right after, that you skipped something required — most commonly the first tashahhud sitting after the second rakah — continue the prayer as normal and perform Sujood as-Sahw before the final salam, once you reach the end of the prayer.

In practice: finish the prayer up to the final tashahhud as usual, then instead of giving salam immediately, perform the two extra prostrations, then give salam.

Scenario 2: You Added Something Extra

If you realize you've added an extra rakah, an extra ruku, or an extra sujood that shouldn't have been there, the general approach is: once you become aware of the mistake, stop adding to it, complete the prayer, give the final salam as normal, and then perform Sujood as-Sahw after the salam.

Example: you realize mid-fifth-rakah of what should have been a four-rakah prayer that you've added an extra one. Complete that rakah, sit for tashahhud, give salam, then perform the two extra prostrations.

Scenario 3: You're Not Sure of the Count

This is the most common real-world case — standing mid-prayer thinking "was that the third rakah or the fourth?" The general guidance: act on whichever number you're more confident about (or the lower number, if you're genuinely unsure which is more likely), complete the prayer based on that, and perform Sujood as-Sahw before the salam to cover the uncertainty.

The key principle across all three scenarios: don't restart the prayer from scratch, and don't let the uncertainty spiral into anxious re-checking. Make your best reasonable judgment, correct with the two prostrations, and move on.

How to Actually Perform Sujood as-Sahw

1. At the appropriate point (before or after salam, per the scenario above), say "Allahu Akbar" and go into prostration, just as in a normal sujood during salah.

2. While prostrating, recite the same tasbih used in regular sujood: "Subhana Rabbiyal A'la" (Glory be to my Lord, the Most High), typically three times.

3. Rise to a brief sitting position, as you would between two normal prostrations.

4. Go into a second prostration, repeating the same tasbih.

5. Rise, and if this was done before the salam, complete the prayer with tashahhud and salam as normal. If it was done after the salam, the prayer is now complete.

Practices vary slightly by school of thought

The before/after-salam distinction described here reflects the general, most commonly taught approach. Some details differ between schools of Islamic jurisprudence (madhabs) — if you follow a specific school closely or have a case that doesn't fit neatly into these three scenarios, it's worth checking with a local scholar familiar with your madhab.

Frequently Asked Questions

What is Sujood as-Sahw?
Sujood as-Sahw, the "prostration of forgetfulness," is two extra prostrations performed to correct an unintentional mistake in salah — such as an extra or missing rakah, a skipped required part, or uncertainty about the count. It's a built-in correction mechanism rather than a reason to repeat the whole prayer.
Do I do Sujood as-Sahw before or after the salam?
It depends on the type of mistake. For an omission (leaving out a required part), it's generally done before the salam. For an addition (an extra rakah or movement) or a case of doubt resolved by acting on the stronger likelihood, it's generally done after the salam. Practices vary slightly between schools of thought, but this is the general principle.
What do I say during Sujood as-Sahw?
The same tasbih said in regular sujood is sufficient: "Subhana Rabbiyal A'la" (Glory be to my Lord, the Most High), repeated as in normal prostration. No special additional wording is required.
Does my prayer become invalid if I forget Sujood as-Sahw?
Generally, no — for most unintentional mistakes, forgetting to perform Sujood as-Sahw does not by itself invalidate the prayer, though scholarly opinions vary by the type of error and school of thought. If in doubt about a specific case, it's best to ask a local scholar.
What if I'm not sure whether I prayed 3 or 4 rakahs?
The general guidance is to act on the number you're more confident about, complete the prayer based on that, and then perform Sujood as-Sahw before the salam to cover the uncertainty, rather than restarting the prayer entirely.

Losing count or missing a step mid-prayer isn't a crisis — it's common enough that a specific, simple fix exists for it. Two extra prostrations, and the prayer is complete.

Sources: Sahih al-Bukhari 401 (the hadith of doubt in the number of rakahs) · Sahih Muslim 572 (Sujood as-Sahw for addition and omission).
Never lose count again

SabrTime's prayer tracker keeps a clear record of your salah — free, no ads, no login.

Open SabrTime
Yunus Khan
Written by Yunus Khan
Founder of SabrTime — Building free Islamic digital tools that help Muslims strengthen their worship through technology.