Quick facts about sujood al-sahw:
• Definition: two extra sujood to compensate for mistakes in prayer
• Causes: addition (extra rakat), omission (missed wajib element), doubt (uncertain rakat count)
• Hanafi: always before salam
• Shafi'i: always after salam
• Maliki/Hanbali: before salam for omissions, after for additions
• Hadith basis: Sahih al-Bukhari 1226, Sahih Muslim 572
• NOT needed: for missed sunnahs or verbal recitation errors that do not change meaning
The Prophet ﷺ said: "When one of you is in doubt about his prayer and does not know how many rakats he has prayed, three or four, let him cast aside the doubt and build on what he is certain of, then perform two sujood before he gives salam." (Sahih al-Bukhari 1226)
This single hadith establishes the entire structure of sujood al-sahw. Doubt in prayer is not a cause for anxiety; it is a trigger for a specific, prescribed remedy. The Prophet ﷺ himself performed sujood al-sahw on multiple occasions, normalizing the idea that even the most devoted worshipper can lose count or forget a step. What matters is what you do when that happens.
The hadith basis
Sujood al-sahw is grounded in multiple authentic hadith from Sahih al-Bukhari and Sahih Muslim. The most important are:
"When one of you is in doubt about his prayer and does not know how many rakats he has prayed, three or four, let him cast aside the doubt and build on what he is certain of, then perform two sujood before he gives salam. If he prayed five rakats, they will serve as intercession for him, and if he prayed four exactly they will be a humiliation for the devil." (Sahih al-Bukhari 1226, Sahih Muslim 571)
This hadith covers the doubt scenario and explicitly states that two sujood should be performed before salam in that case.
"The Prophet ﷺ prayed five rakats in Dhuhr. He was asked: 'Has the prayer been increased?' He said: 'What is the matter?' They told him he had prayed five. So he turned, performed two sujood, and then gave salam." (Sahih Muslim 572)
This hadith, narrated by Abdullah ibn Masud (RA), records the Prophet ﷺ adding an extra rakat in Dhuhr without realizing it. When informed after his salam, he performed two sujood after salam. This is the key proof used by the Shafi'i school for performing sujood al-sahw after salam in addition cases.
"The Prophet ﷺ stood up from the second rakat of Dhuhr without sitting (for the first tashahhud). When he completed the prayer, he performed two sujood before the salam." (Sahih al-Bukhari 1224, Abu Dawud 1034)
This narration by Abdullah ibn Buhhaynah (RA) covers the omission scenario and records the Prophet performing sujood al-sahw before salam for an omitted wajib element.
The three causes
The classical scholars identified three distinct triggers for sujood al-sahw. Each has a different nature and, in some schools, a different timing ruling.
1. Addition (Ziyadah)
Addition occurs when the worshipper performs something extra that does not belong in the prayer. The most common examples are:
- Praying five rakats of Dhuhr instead of four
- Praying three rakats of Fajr instead of two
- Sitting for tashahhud at the wrong point (e.g., sitting after the first rakat)
- Performing an extra ruku in a single rakat
If the addition involved standing for an extra rakat and returning to complete the prayer, sujood al-sahw is due. If the addition was unintentional and corrected before completing the extra rakat, the prayer continues normally and sujood al-sahw is still performed at the end.
2. Omission (Naqs)
Omission occurs when the worshipper forgets an obligatory (wajib) element of the prayer, most commonly the first tashahhud. In the Hanafi school, certain acts are wajib (obligatory but below fard in rank), and omitting them requires sujood al-sahw. These wajibat include:
- The first tashahhud (sitting after the second rakat in a four-rakat prayer)
- Reciting Al-Fatiha in every rakat
- Adding a second surah to the recitation in the first two rakats
- Performing the sujood correctly (three tasbeehs minimum according to the Hanafi school)
- Saying takbeer for ruku and sujood
In the Maliki and Shafi'i schools, the obligatory pillars (arkan) are treated differently from wajibat. Omitting an actual pillar of prayer (such as a full ruku or sujood) cannot be compensated by sujood al-sahw; it requires repeating the rakat or prayer. Sujood al-sahw compensates only for omitted wajibat, not for pillars.
3. Doubt (Shakk)
Doubt occurs when the worshipper is genuinely uncertain about whether an action was performed or about the number of rakats completed. The Prophet's hadith in Bukhari 1226 specifically addresses this: when in doubt about the rakat count, build on the lesser number (the number you are certain of) and perform sujood al-sahw before salam.
Important distinction: doubt that arises after the prayer is completed is generally disregarded by the majority of scholars. If you complete the prayer and then wonder whether you prayed three or four rakats, you do not need to act on that doubt. The time for sujood al-sahw has passed and the prayer is considered sound.
What the four schools say
The most practically significant difference among the schools concerns when the two sujood are performed: before or after the final salam.
Hanafi school
The Hanafi position is that sujood al-sahw is always performed before the salam, regardless of whether the cause was addition, omission, or doubt. The method is as follows: after completing what you believe to be the final tashahhud (excluding the durud ibrahim according to some Hanafi scholars), you give one salam to the right only, then perform two sujood with their sitting in between, recite the full tashahhud again, and then give the final salam on both sides.
The Hanafi school considers the "before salam" position the default supported by the Bukhari 1226 hadith, and regards "after salam" cases as specific to the Prophet's own situation or explained differently. In North and South Asian Muslim communities where the Hanafi school predominates, this is the most widely practiced approach.
Shafi'i school
The Shafi'i school holds that sujood al-sahw is always performed after the salam, in all three causes: addition, omission, and doubt. After giving salam at the end of the prayer, you perform two sujood, then sit, then give a second salam. The intention for sujood al-sahw must be made before these sujood.
The Shafi'i position is grounded primarily in the Muslim 572 narration of the Prophet performing sujood al-sahw after salam when he prayed five rakats. Imam al-Shafi'i held this as the general rule, and the "before salam" narrations as applying specifically to the doubt scenario, which he treated as an exception already incorporated into the "after salam" ruling.
Maliki school
The Maliki school distinguishes by cause. For omissions (forgetting a wajib element such as the first tashahhud), sujood al-sahw is performed before salam. For additions (praying extra rakats or extra actions), it is performed after salam. The doubt scenario follows the same rule as omission and is thus performed before salam.
This bifurcated approach is supported by the combination of both sets of hadith: the "before salam" hadith covers the omission-and-doubt case, while the "after salam" hadith of Muslim 572 covers the addition case. Many scholars consider this the position that best reconciles all the evidence.
Hanbali school
The Hanbali school follows a position broadly similar to the Maliki school: omission before salam, addition after salam, doubt before salam. There are some internal differences in the Hanbali madhab regarding certain edge cases, but the general framework aligns with the Maliki approach.
How to perform sujood al-sahw
Regardless of whether you perform sujood al-sahw before or after salam, the physical execution is the same as regular sujood in prayer:
1. Say "Allahu Akbar" and go into sujood, placing forehead, nose, both palms, both knees, and toes on the ground.
2. Recite "Subhana Rabbiyal-A'la" (Glory be to my Lord Most High) three times or more.
3. Rise from the first sujood saying "Allahu Akbar" and sit briefly.
4. Say "Allahu Akbar" and go into the second sujood, repeating the tasbeeh.
5. Rise from the second sujood and complete the prayer as required by your school.
On the specific supplication during sujood al-sahw, some narrations mention a particular dua. However, the hadith scholars who examined those chains found them to be weak. The established position of major scholars including Ibn al-Qayyim and Ibn Baz is that the regular sujood tasbeeh is sufficient and valid. No separate dua specific to sujood al-sahw is confirmed as authentic.
Practical examples
The following are the most common scenarios Muslims face in their daily prayers, with guidance on what to do in each.
Scenario 1: Forgot the first tashahhud in Dhuhr
You are praying Dhuhr. After completing the second rakat, you stand up for the third rakat without sitting for the first tashahhud. If you remember before fully standing, you may return and sit to complete the tashahhud without sujood al-sahw. If you have already stood fully, you continue the prayer and do not return (to return would add an extra action), and you perform sujood al-sahw at the end to compensate for the omitted tashahhud. This scenario is explicitly covered by the hadith of Ibn Buhhaynah (Bukhari 1224), where the Prophet ﷺ did the same thing and performed sujood al-sahw before salam.
Scenario 2: Prayed five rakats of Asr
You realize after giving salam that you prayed five rakats. This is the exact scenario of Muslim 572. Following the hadith, you perform two sujood immediately after realizing the mistake, then give salam again. If you followed the Shafi'i or Hanbali or Maliki school, the sujood al-sahw being after salam here aligns perfectly with the prophetic example. If you follow the Hanafi school, you complete your full prayer (since Hanafi performs before salam), but the principle of compensating for the mistake is maintained.
Scenario 3: Doubt between the third and fourth rakat in Asr
You are in your sitting position after what you think might be the third or fourth rakat of Asr, and you genuinely do not know which it is. Following the hadith of Bukhari 1226, you assume the lesser number (three), stand up, complete the fourth rakat, and then perform two sujood before salam (the prophetic instruction in this hadith explicitly says before salam). This applies across all four schools for the doubt scenario.
Scenario 4: Forgot the tasleem (salam) initially
If you forget to give salam at the end of the prayer and remain sitting in final tashahhud for a long time before realizing, you give salam when you remember. If little time passed and you remained in the prayer position, the prayer is valid and no sujood al-sahw is needed for the forgotten salam itself, since the salam is obligatory but was eventually performed. Different schools handle edge cases differently; consult your local scholar for unusual circumstances.
Scenario 5: Prayed two rakats of Dhuhr thinking it was complete
You gave salam after two rakats of Dhuhr, thinking it was a two-rakat prayer like Fajr. When you realize the error, if a short time has passed, you stand and complete the remaining two rakats, then perform sujood al-sahw. If you have broken your wudu or done something that interrupts the prayer, you must restart Dhuhr entirely.
When sujood al-sahw is NOT needed
Not every mistake or imperfection in prayer triggers sujood al-sahw. The following situations do not require it:
Missed voluntary (sunnah) elements. If you forget to perform qunut in Fajr according to the Shafi'i school, or forget to recite a particular surah the imam usually recites, no sujood al-sahw is needed. Sunnahs are recommended acts; their omission does not damage the prayer's validity.
Verbal errors in recitation that do not change meaning. If you mispronounce a word in Al-Fatiha or a surah in a way that does not alter the meaning, the majority of scholars hold that the prayer is valid and no sujood al-sahw is needed. The exception, according to some scholars, is a clear and deliberate error that changes the meaning of a verse.
Whispers of doubt (waswasa) without genuine uncertainty. The person who compulsively doubts every action in their prayer and cannot settle on whether they performed an act should actively disregard those doubts. The scholars are unanimous that someone suffering from waswasa (compulsive doubts) should complete their prayer normally without responding to doubts, since responding only strengthens the whispers. Sujood al-sahw is for genuine mistakes, not for the distress of constant internal questioning.
Looking to the side or distractions. Being distracted during the prayer, looking left or right, or thinking of other things during recitation does not trigger sujood al-sahw.
Imam and follower situations
When praying in congregation, sujood al-sahw follows the imam. If the imam performs sujood al-sahw, the followers must follow him into it, even if they personally did not make the same mistake. The imam's sujood al-sahw covers the congregation.
If a follower makes a personal mistake (such as forgetting their own first tashahhud), but the imam did not, the follower does not perform sujood al-sahw independently during congregational prayer. The follower's prayer is covered by the imam's leadership. After completing the congregational prayer, there is no separate sujood al-sahw for the individual follower in this case, according to the majority position.
If the imam makes a mistake and does not perform sujood al-sahw, a follower who noticed the error may remind the imam by saying "Subhanallah" (men) or clapping (women), as reported in Sahih al-Bukhari 1218. If the imam still does not perform sujood al-sahw, the prayer remains valid according to the majority, since the mistake was in a wajib element rather than a pillar.
FAQ
What is sujood al-sahw and when is it required?
Sujood al-sahw consists of two extra sujood performed at the end of the prayer to compensate for mistakes. It is required when a person adds an extra action (such as an extra rakat), omits an obligatory element (such as the first tashahhud), or is in genuine doubt about the number of rakats prayed. It is not required for missed sunnahs or minor recitation errors.
Before or after salam: which schools say what?
The Hanafi school holds that sujood al-sahw is always before the final salam. The Shafi'i school holds that it is always after salam. The Maliki school says before salam for omissions and after salam for additions. The Hanbali school aligns broadly with the Maliki position. All positions have strong hadith evidence, since the Prophet performed sujood al-sahw both before and after salam in different narrations.
What do I say during the two sujood of sujood al-sahw?
You recite the same tasbeeh as in regular sujood: Subhana Rabbiyal-A'la (Glory be to my Lord Most High) three times. A specific dua exclusive to sujood al-sahw has been attributed to the Prophet in some narrations, but hadith scholars classify those chains as weak. The standard sujood tasbeeh is the established and sound practice.
What if I forget sujood al-sahw entirely?
If you forgot to perform sujood al-sahw and remembered shortly after salam while still in your prayer position, perform it immediately. If too much time has passed, stood up, or walked away, the majority view is that your prayer remains valid. Sujood al-sahw is a compensatory measure, not a pillar whose omission invalidates the prayer itself.
Does sujood al-sahw apply to missed sunnahs in prayer?
No. Sujood al-sahw compensates only for omitted obligatory (wajib) elements, not for missed sunnah acts. If you skip a recommended dhikr, forget to recite a particular surah, or omit an optional element of prayer, the prayer is valid and complete without sujood al-sahw. Similarly, verbal recitation errors that do not change the meaning of a verse do not require sujood al-sahw.
FivePrayer tracks your daily prayers and helps you stay consistent.
Precise prayer times for all five daily prayers, calculated for your exact location. Free, no ads, no tracking.