Quick facts about Sujud Sahw:
• What it is: Two extra prostrations to compensate for mistakes during prayer
• When: After forgetting something obligatory, adding something extra, or having doubt about the count
• Position: Usually before the final salam (Hanafi, Maliki; Hanbali in most cases) or after salam (Shafi'i default for additions)
• Dhikr: Same as regular sujud, "Subhana Rabbiyal A'la"
• Source: Multiple sahih hadiths including Sahih Muslim 572
What Is Sujud Sahw?
Sujud Sahw, literally "the prostration of forgetfulness" (سجود السهو), is a remedy built into Islamic prayer. When a worshipper makes certain types of mistakes during salah, two additional prostrations are performed either just before or just after the final salam. These two prostrations do not add a new unit (rakat) to the prayer; they compensate for what was omitted or inadvertently added.
The most important thing to understand about sujud sahw is that it is not a sign of failure. It is a sign that Allah, in His infinite mercy, gave the ummah a way to correct honest mistakes without discarding the entire prayer. The Prophet ﷺ himself performed sujud sahw on multiple occasions, in front of his companions, without embarrassment, as part of his sunnah and as a teaching for every Muslim who would come after him.
One of the most widely cited incidents is recorded in Sahih Muslim 572, where the Prophet ﷺ prayed five rakats in the Dhuhr prayer instead of four. When a companion informed him after the salam, he asked: "Is that right?" The companion confirmed it, and the Prophet ﷺ turned toward the qibla, performed two prostrations, then gave the salam. He said nothing that suggested shame or frustration, only correction.
"The Messenger of Allah ﷺ led us in praying five rak'ahs. When he had finished we said: 'O Messenger of Allah, has something been added to the prayer?' He said: 'What is the matter?' They said: 'You prayed five.' He turned and performed two prostrations, then gave the salam." , Sahih Muslim 572
This hadith establishes the principle behind sujud sahw with clarity: adding something extra to the prayer inadvertently is remedied by two prostrations. The sunnah of the Prophet ﷺ demonstrates that sujud sahw is a normal, anticipated part of prayer life, not an emergency measure.
Tip: FivePrayer includes step-by-step guides for each of the five daily prayers with all obligatory components clearly marked, a useful reference when learning which parts of prayer require sujud sahw if forgotten. Free on iOS, Android, and Chrome.
When Is Sujud Sahw Required?
Scholars have identified three primary causes for sujud sahw, each supported by direct hadith evidence. Understanding these three causes makes it much easier to recognize when sujud sahw applies in practice.
1. Omitting an obligatory (wajib) act
The clearest example is forgetting the first tashahhud, the sitting and recitation between the second and third rakats in prayers of three or four units (Dhuhr, Asr, Isha, Maghrib). If a worshipper forgets the first tashahhud and rises fully to stand for the third rakat, the majority of scholars hold that he should not sit back down (since he has now moved to the next position) but should complete the prayer and perform sujud sahw before the final salam.
"If any of you stands up after two rak'ahs and has not fully stood, let him sit back. But if he has stood up fully, he should not sit down, but he should perform two prostrations of forgetfulness." , Sahih Bukhari 1224
The wisdom here is precise: there is a moment of choice, if the worshipper has not yet fully risen, he can and should return to the sitting position. Once he has committed to standing, however, returning would itself be an addition to the prayer structure. The remedy then shifts to sujud sahw at the end.
Other obligatory acts whose omission triggers sujud sahw include the qunut in Witr prayer (in the Hanafi view), and certain dua in specific positions (depending on madhab). In general: any wajib component of the prayer that is forgotten requires sujud sahw.
2. Adding something extra
The Sahih Muslim 572 hadith above is the direct textual evidence for this case. Praying five rakats instead of four, standing when one should have been sitting, or bowing twice in a single rakat: these are inadvertent additions. The key word is inadvertent: sujud sahw applies only when the addition was made by mistake or forgetfulness, not deliberately.
For additions that are discovered after the salam, the Prophet's example in the hadith shows that sujud sahw can still be performed immediately after: turn toward the qibla, perform the two prostrations, and give the salam again. All four madhabs agree on this case: sujud sahw for an addition comes after the salam.
3. Doubt about the count
If a worshipper genuinely cannot remember whether he has prayed three or four rakats (not a fleeting thought but a real uncertainty he cannot resolve), he acts on the lesser number. He treats the prayer as if he has prayed three, completes the fourth rakat, and then performs sujud sahw before the salam.
"If one of you is in doubt during his prayer and does not know how many he has prayed, three or four, he should discard the doubt and base his prayer on what he is sure of, that is, the lesser number, then perform two prostrations before giving the salam. If he prayed five, these will make his prayer even, and if he prayed four, they will be a humiliation for the shaytan." Sahih Muslim 571
This hadith contains one of the most elegant formulations in all of fiqh: whether you prayed the right number or not, sujud sahw covers both possibilities. It is a mercy that removes anxiety from the worshipper who genuinely cannot remember.
When Is Sujud Sahw NOT Required?
Not every lapse in prayer triggers sujud sahw. Understanding the boundaries is just as important as knowing the triggers.
Forgetting a sunnah act does not require sujud sahw. Sunnah components of prayer are those which the Prophet ﷺ performed regularly but which are not wajib, such as raising the hands (raf' al-yadayn) at various transition points in the prayer, reciting specific supplications between positions, or some of the secondary adhkar. If you forget any of these, your prayer is complete and valid without any remedy.
A passing doubt (the kind of whisper that comes and goes in a second) does not require sujud sahw either. Scholars distinguish between waswas (whispered confusion, often from shaytan, which the worshipper dismisses almost immediately) and genuine uncertainty that persists and leaves the worshipper truly unsure. The first requires nothing. The second triggers sujud sahw. The test is simple: if, when you think about it honestly, you actually know which number you are on, you are not in genuine doubt.
Similarly, forgetting a recommended (mustahabb) act, a voluntary additional act, or a sunnah of specific recitation (such as reading a particular surah after al-Fatiha in certain rakats) does not call for sujud sahw. The prayer is complete as it is.
How to Perform Sujud Sahw
The physical performance of sujud sahw is simple: two prostrations, much like the regular prostrations of the prayer itself. But the timing (before or after the final salam) varies by both the type of mistake and the madhab followed. Here is how it works across both scenarios.
Before the salam (Hanafi and Maliki approach; Hanbali in most cases)
After completing the tashahhud and the salawat on the Prophet ﷺ, instead of giving the salam, the worshipper says "Allahu Akbar" and goes down into the first of the two extra prostrations. In each prostration, the same dhikr as a regular sujud is recited: "Subhana Rabbiyal A'la" at least three times. He then rises to sit between the two prostrations as normal, says "Allahu Akbar" for the second prostration, recites the dhikr again, then sits back upright. From this sitting position, he gives the final salam to the right and then to the left, exactly as he would end a regular prayer.
This method (sujud sahw before salam) applies to omissions and doubts in the Hanafi, Maliki, and (for most cases) Hanbali schools.
After the salam (Shafi'i for additions; agreed upon for cases discovered post-salam)
In the case of an addition, such as when the worshipper discovers he prayed an extra rakat, all four madhabs agree that sujud sahw comes after the salam. The worshipper first gives the salam to complete the prayer, then says "Allahu Akbar" and performs the two prostrations in the same manner as above, then gives a second salam to conclude.
In the Shafi'i school, this after-salam position is also the default for omissions, making it the simpler rule to memorize: regardless of the type of mistake, sujud sahw follows the salam. The Shafi'i reasoning is that the salam is the formal conclusion of the prayer and the two remedial prostrations are an appendage rather than an interruption.
| Cause of Sujud Sahw | Agreed timing |
|---|---|
| Omission of a wajib act (e.g., first tashahhud) | Before salam (Hanafi, Maliki, Hanbali) / After salam (Shafi'i) |
| Addition of something extra (discovered during prayer) | Before salam (Hanafi, Maliki, Hanbali) |
| Addition of something extra (discovered after salam) | After salam, all four madhabs agree |
| Genuine doubt about the count | Before salam (all four madhabs) |
The Madhab Differences
The four major schools of Sunni jurisprudence agree on the validity and general structure of sujud sahw, but differ on its precise timing and, in some cases, its legal status.
The Hanafi school holds that sujud sahw is wajib (obligatory) whenever a wajib act has been omitted. Deliberately omitting sujud sahw when it is required is blameworthy, though the prayer itself remains valid. Timing is always before the salam, regardless of whether the cause was an omission, addition, or doubt.
The Maliki school generally places sujud sahw before the salam for omissions and after it for additions, though the internal Maliki discussions have some nuance depending on the specific case. The school treats sujud sahw as a sunnah mu'akkadah (a strongly emphasized sunnah) whose deliberate omission is makruh but does not invalidate the prayer.
The Shafi'i school takes the position that sujud sahw comes after the salam as the default rule for all causes. It is classified as a sunnah, not wajib. This makes the Shafi'i approach the simplest to memorize: whenever sujud sahw is triggered, always give the salam first, then perform the two prostrations, then give another salam.
The Hanbali school follows a middle path: before the salam for omissions and doubts, and after the salam for additions. It agrees with the Hanafi school in treating sujud sahw for omissions as wajib, and emphasizes that following the specific example from the hadith (performing sujud sahw before or after depending on the case) is the most authentic approach.
In practice, a Muslim should follow the madhab he or she ordinarily follows. If you are unsure of your madhab, the Hanafi rule (always before salam) is easy to remember and well-supported by hadith.
The Dua in Sujud Sahw
The question arises: is there a special dhikr for sujud sahw, different from the dhikr of regular prostration?
The authenticated answer is no. The dhikr in sujud sahw is the same as in any other sujud. The worshipper says:
"Subhana Rabbiyal A'la" (Glory be to my Lord, the Most High). Sunan Abu Dawud 889
This is said at least three times in each of the two prostrations of sujud sahw, just as in regular prayer. Some scholars note that any dhikr appropriate to sujud is permissible. There is no evidence that a different or additional supplication is required specifically for the prostration of forgetfulness. The same prostration, the same words, performed twice. The simplicity is itself a mercy.
Some worshippers add extra du'a and tasbih in the two prostrations, as they might in any sujud. This is permissible and recommended. The sujud of forgetfulness, like all sujud, is a position of nearness to Allah, and the Prophet ﷺ said: "The closest a servant is to his Lord is when he is in sujud, so increase your du'a in it." (Sahih Muslim 482)
FAQ
What if I am not sure whether I prayed 3 or 4 rakats?
Assume the lesser number, in this case, 3. Complete the prayer to 4 rakats, then perform sujud sahw before the final salam. This is based on Sahih Muslim 571, in which the Prophet ﷺ instructed: "He should discard the doubt and base his prayer on what he is sure of, that is, the lesser number, then perform two prostrations before giving the salam." Whether you were right or wrong about the count, the two prostrations cover the uncertainty. As the Prophet ﷺ said, they will either make the prayer even, or they will be a humiliation for shaytan.
What if I forget to perform sujud sahw itself?
If you remember immediately after the salam, before standing up or doing any other action, you may still perform sujud sahw and then repeat the salam. If time has passed or you have moved on, the majority of scholars hold that the prayer is still valid. In the Shafi'i and Maliki views, sujud sahw is a sunnah, so its omission does not invalidate the prayer. In the Hanafi view it is wajib, but its omission still does not require repeating the prayer, only that you be more attentive next time.
Does forgetting sujud sahw invalidate the prayer?
No, in the view of most scholars. In the Shafi'i and Maliki madhabs, sujud sahw is a sunnah mu'akkadah, so omitting it does not invalidate the prayer. In the Hanafi madhab it is wajib, meaning its intentional omission is blameworthy, but the prayer itself remains valid. You do not need to repeat the prayer. Repent if you believe you were negligent, and be more attentive in future prayers.
What if I am praying behind an imam: does sujud sahw apply to me?
When praying in congregation, the imam bears the responsibility for sujud sahw on behalf of the congregation. If the imam performs sujud sahw, all followers must perform it with him: you follow the imam in his two prostrations just as you follow him in the rest of the prayer. If the imam forgets to do sujud sahw when it was required, the followers' prayer remains valid. They are not responsible for the imam's omission. A follower does not independently perform sujud sahw for a mistake the imam did not address. This is one of the blessings of congregational prayer.
Can sujud sahw compensate for missing an entire rakat?
No. Sujud sahw compensates for forgetting obligatory components within a prayer, such as the first tashahhud, or for inadvertently adding extra actions. It does not substitute for a missing rakat. If you realize before the salam that you have missed a complete rakat, you add the missing rakat and then perform sujud sahw. If you only realize long after the salam, the prayer must be repeated. The distinction is between a lapse within the prayer structure (which sujud sahw can remedy) and an incomplete prayer structure (which must be made whole).
FivePrayer: accurate adhan times and prayer guides, so you never lose count.
Step-by-step guides for all five daily prayers. Gentle reminders. A quiet companion that helps you stay present in salah. Free on iOS, Android, and Chrome.