سجود السهو

Sajdah Sahw: The Prostration of Forgetfulness — Complete Guide

A step-by-step, madhab-by-madhab guide to the two prostrations performed for mistakes in Salah — when they’re required, how to perform them, and what to do in every common scenario.

✓ Sourced from Sahih Hadith ✓ Madhab Views Noted ✓ Sources cited

◆What Is Sajdah Sahw?

Sajdah Sahw (سجود السهو), the “prostration of forgetfulness,” is a Sunnah correction consisting of two extra prostrations performed when a worshipper makes certain unintentional mistakes during Salah — such as adding or omitting an action, or doubting how many rak’ahs were prayed. It is a mercy from Allah that allows the prayer to remain valid without requiring it to be repeated from the beginning.

The concept reflects a core principle of fiqh: Allah does not burden a soul beyond what it can bear, and forgetfulness in worship — unlike deliberate abandonment of its pillars — is treated with accommodation rather than nullification. Sajdah Sahw is prescribed precisely because human memory is imperfect, even for the most devoted worshipper.

◆Evidence From the Hadith

The legislation of Sajdah Sahw is firmly established in the Sunnah through several authentic narrations describing incidents from the Prophet’s ﷺ own prayer.

إِذَا شَكَّ أَحَدُكُمْ فِي صَلَاتِهِ فَلْيَتَحَرَّ الصَّوَابَ فَلْيُتِمَّ عَلَيْهِ ثُمَّ لِيَسْجُدْ سَجْدَتَيْنِ

“If any of you is in doubt during his prayer, let him seek what is correct and complete the prayer accordingly, then perform two prostrations.”

Sahih Sahih al-Bukhari 401; Sahih Muslim 572 — narrated by Abu Sa’id al-Khudri (RA)

The Prophet ﷺ once led the people in a prayer and stood up after the second rak’ah without sitting for tashahhud. When he remembered near the end of the prayer, he performed two prostrations before the salam, then completed the prayer normally.

Sahih Sahih al-Bukhari 829 — narrated by Abdullah ibn Buhaynah (RA)

Ibn Mas’ud (RA) reported that the Prophet ﷺ prayed either an extra or a deficient rak’ah. When told about it, he performed two prostrations after completing the prayer with the salam, saying that had anything new happened in the prayer he would have informed the people.

Sahih Sahih Muslim 572

These narrations together establish the two situations in which Sajdah Sahw is performed — before the salam and after it — which forms the basis of the madhab discussions in Section 6.

◆The Three Causes of Sajdah Sahw

Scholars classify the triggers for Sajdah Sahw into three broad categories:

  1. Ziyadah (Addition): Performing an extra rak’ah, an extra ruku’, an extra sajdah, or standing up when one should have been sitting — done unintentionally.
  2. Naqs (Omission): Missing a wajib (obligatory) element of the prayer, such as forgetting the first tashahhud or a required qunut, without missing a pillar (rukn) of the prayer.
  3. Shakk (Doubt): Being genuinely uncertain about the number of rak’ahs prayed, with no way to determine the correct number through recollection.
Important distinction: If a pillar (rukn) of Salah — such as an entire rak’ah, ruku’, or sajdah — is missed entirely and not made up before the prayer ends, Sajdah Sahw alone is not sufficient; the missed rak’ah must be completed. Sajdah Sahw corrects lapses in wajib and sunnah elements or resolves doubt, not the omission of pillars.

◆How to Perform Sajdah Sahw — Step by Step

  1. Remain seated in the tashahhud positionAfter completing the final tashahhud (or upon realizing the mistake), stay seated rather than turning for salam.
  2. Say “Allahu Akbar” and prostratePerform one full prostration exactly as in the regular prayer, saying “Subhana Rabbiyal A’la” as usual.
  3. Rise to a brief sitting positionSit up between the two prostrations just as you would between the regular sajdahs of a rak’ah.
  4. Say “Allahu Akbar” and prostrate a second timePerform the second prostration in the same manner as the first.
  5. Sit up and give the tasleem (salam)Return to a sitting position and complete the prayer with the salam to the right, and to the left if that is your normal practice.

No additional tashahhud is required after the two prostrations if they are performed before the salam — you simply prostrate twice and then say salam. If performed after the salam (see Section 5), the sequence is: salam → two prostrations → salam again.

◆Before or After the Salam?

A frequent point of confusion is whether Sajdah Sahw should be performed before or after the tasleem (salam) that ends the prayer. The general principle followed by most scholars is:

  • Perform it before the salam when the mistake involves an omission (leaving out a wajib element), or when there is genuine, unresolved doubt about the number of rak’ahs.
  • Perform it after the salam when the mistake involves an addition to the prayer (an extra rak’ah, standing, or prostration).
Practical note: If unsure whether a specific case calls for prostration before or after the salam, performing it before the salam is accepted as valid by the majority of scholars in almost all cases — see the madhab comparison below for exceptions.

◆Comparison of the Four Madhabs

The four Sunni schools of jurisprudence largely agree on the core practice of Sajdah Sahw but differ on some details of timing and ruling. This comparison is for educational awareness — always follow your own madhab or a qualified local scholar for rulings specific to your situation.

MadhabRuling (Hukm)Timing for AdditionTiming for Omission/Doubt
HanafiWajib (obligatory)After the salamAfter the salam (Hanafi view places nearly all cases after salam)
MalikiSunnah mu’akkadah (strongly recommended)After the salamBefore the salam
Shafi’iSunnah mu’akkadah (strongly recommended)Before the salamBefore the salam
HanbaliSunnah mu’akkadah, wajib in specific casesAfter the salamBefore the salam

Note that in the Hanafi madhab, if Sajdah Sahw becomes necessary and is deliberately abandoned without excuse, the prayer is considered invalid, reflecting the school’s classification of it as wajib rather than sunnah.

◆Common Real-Life Scenarios

Forgot first tashahhud

Standing up too early

If you stand up before sitting for the first tashahhud and only remember after fully standing, continue the prayer and perform Sajdah Sahw before the salam.

Extra rak’ah prayed

Praying five rak’ahs instead of four

If you realize during or right after the fifth rak’ah, sit for tashahhud and salam, then perform two prostrations after the salam.

Doubt with no certainty

Unsure if you prayed 3 or 4 rak’ahs

Act upon the lower number (assume 3), complete the prayer to 4, and perform Sajdah Sahw before the salam.

Doubt resolved by recollection

Later became confident of the correct count

If strong recollection (ghalabat al-zann) clarifies the correct number, act on that recollection rather than the lower number; Sajdah Sahw is still recommended out of caution.

Missed a wajib element

Forgot the Qunut in Witr

Continue the prayer normally and perform Sajdah Sahw before the salam to compensate for the omitted wajib.

Remembered after leaving the mosque

Realized the mistake after a long delay

If considerable time has passed or you have spoken/left the prayer space, most scholars hold that the window to perform Sajdah Sahw has closed; the prayer still stands, and you are not required to repeat it.

◆Visual Summary: Sajdah Sahw at a Glance

Sajdah Sahw infographic Diagram showing the three causes of Sajdah Sahw and whether the prostration is performed before or after the salam. Sajdah Sahw — Prostration of Forgetfulness 1. Ziyadah (Addition) Extra rak’ah, ruku’, sajdah, or standing → Usually AFTER salam 2. Naqs (Omission) Missed a wajib element e.g. first tashahhud → Usually BEFORE salam 3. Shakk (Doubt) Unsure of rak’ah count, act on the lower number → Usually BEFORE salam The Two Prostrations 1 Allahu Akbar→ Prostrate 2 Sit briefly 3 Allahu Akbar→ Prostrate again 4 Sit up 5 Salam Always verify specifics with your madhab or a qualified local scholar — DuaForAll.com
A visual overview of the three causes of Sajdah Sahw and the five-step prostration sequence. Save or share this infographic.

◆Common Mistakes to Avoid

  • Repeating the whole prayer unnecessarily — Sajdah Sahw exists specifically so minor lapses don’t require starting over.
  • Performing three or more prostrations — Sajdah Sahw is always exactly two prostrations, never one or three.
  • Confusing it with Sajdah Tilawah — the prostration of recitation (performed on hearing a sajdah verse) is a separate act of worship with different rulings; see our Sajdah Tilawah guide.
  • Performing it after unrelated conversation or leaving the prayer area — the window for correcting the prayer closes once you’ve spoken unrelated words or left the setting, according to most scholars.
  • Ignoring doubt without acting — when doubt arises and cannot be resolved by recollection, always act on the lower, more certain number of rak’ahs.

◆Frequently Asked Questions

This differs by madhab. The Hanafi school considers it wajib in applicable cases, meaning deliberately omitting it can invalidate the prayer. The Maliki, Shafi’i, and Hanbali schools generally classify it as a strongly recommended sunnah (sunnah mu’akkadah), meaning the prayer remains valid even if it is missed, though performing it is highly encouraged.

According to the majority of scholars, if you remember shortly after finishing the prayer and before speaking or leaving the prayer space, you should perform it then. If considerable time has passed or you have already left, most scholars hold that the prayer remains valid and no further action is required.

Yes. Sajdah Sahw applies to obligatory (fard) prayers as well as voluntary (nafl) and Sunnah prayers whenever a qualifying mistake occurs during them.

Yes, all three categories may need to perform it. When praying behind an Imam, the followers perform Sajdah Sahw along with the Imam, even if the mistake was made only by the Imam. A ma’mum does not perform it independently for their own minor forgetfulness if the Imam did not make an error requiring it.

The same tasbih said in regular prostration — “Subhana Rabbiyal A’la” (Glory is to my Lord, the Most High) — is recited. No special or different wording is required specifically for Sajdah Sahw.

Sajdah Sahw is prescribed for the omission of wajib elements and for doubt about the number of rak’ahs. Missing a purely optional/recommended act (like an extra dhikr) generally does not require it, though scholarly opinions vary on specific minor sunnahs.

◆Authorship

MI

Muhammad Iqbal

Author

Founder of DuaForAll.com, focused on making authentic, well-sourced Islamic knowledge accessible to a global audience.

View full bio →

Written and checked by the Dua For All team in line with our Editorial Standards. Quran text checked against Quran.com; hadith gradings from Sunnah.com. For fiqh questions, please consult a local scholar.