The short answer
For many mistakes, such as forgetting the first tashahhud, adding an extra unit by accident, or being unsure how many units you prayed, the remedy is the prostration of forgetfulness (sujud as-sahw): two extra prostrations near the end of the prayer. If you miss an essential pillar such as a bowing or prostration, you must go back and perform it; sujud as-sahw alone does not replace it.
The detail
Everyone makes mistakes in prayer. The Sunnah provides a simple remedy called sujud as-sahw, the prostration of forgetfulness: two prostrations, like the ordinary prostrations of prayer, made near the end of the prayer to make up for an error. The Quran teaches believers to ask their Lord not to take them to task if they forget or make a mistake (2:286), and this practice reflects that mercy.
Common situations that call for it:
- Leaving out an important but non-essential part, such as the first tashahhud in a three- or four-unit prayer. If you stand up fully before remembering, you generally continue and make sujud as-sahw.
- Adding something by mistake, such as an extra unit or an extra bowing.
- Doubt about the number of units. Most scholars teach building on certainty, meaning the lower number, completing the prayer from there and then prostrating. The Hanafi school first asks the worshipper to act on their strongest assumption.
What it cannot fix. If you leave out a pillar (rukn), such as a bowing, a prostration or the opening takbir, sujud as-sahw does not replace it. You must go back and do it (with differences in detail between schools), or repeat the unit, and then make sujud as-sahw. Missing the opening takbir means the prayer never began and must be started again.
How it is done depends on the school, as described below. In general, you make two prostrations with the usual words of glorification, sitting between them, and then either finish with the tashahhud and salam, or say the salam, depending on whether your school places it before or after the salam.
Praying behind an imam. If you make a small mistake while following an imam, you do not make sujud as-sahw yourself; the imam's prayer covers it. If the imam makes sujud as-sahw, you follow him.
If you have constant doubts about your prayers, scholars advise ignoring them rather than repeatedly redoing the prayer, and speaking to a trusted teacher.
Primary references
The Quran and hadith this answer rests on, quoted from the stored texts with their references.
From the Quran
Quoted from the stored Quran text with the translation named below each verse.
لَا يُكَلِّفُ ٱللَّهُ نَفْسًا إِلَّا وُسْعَهَا ۚ لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا ٱكْتَسَبَتْ ۗ رَبَّنَا لَا تُؤَاخِذْنَآ إِن نَّسِينَآ أَوْ أَخْطَأْنَا ۚ رَبَّنَا وَلَا تَحْمِلْ عَلَيْنَآ إِصْرًۭا كَمَا حَمَلْتَهُۥ عَلَى ٱلَّذِينَ مِن قَبْلِنَا ۚ رَبَّنَا وَلَا تُحَمِّلْنَا مَا لَا طَاقَةَ لَنَا بِهِۦ ۖ وَٱعْفُ عَنَّا وَٱغْفِرْ لَنَا وَٱرْحَمْنَآ ۚ أَنتَ مَوْلَىٰنَا فَٱنصُرْنَا عَلَى ٱلْقَوْمِ ٱلْكَٰفِرِينَ
Allah tasketh not a soul beyond its scope. For it (is only) that which it hath earned, and against it (only) that which it hath deserved. Our Lord! Condemn us not if we forget, or miss the mark! Our Lord! Lay not on us such a burden as thou didst lay on those before us! Our Lord! Impose not on us that which we have not the strength to bear! Pardon us, absolve us and have mercy on us, Thou, our Protector, and give us victory over the disbelieving folk.
Further sources
Written for Islamic Portal from the Quran cited above; school positions as commonly taught in the standard manuals of each school.
What scholars say
The rules of sujud as-sahw come from several occasions when the Prophet ﷺ himself forgot something in prayer and then prostrated, which scholars took as a lesson for the community. Because these reports describe the prostration sometimes before the salam and sometimes after it, the schools developed different ways of combining them, which explains why their methods differ. All the methods have strong scholarly backing, so a worshipper should simply follow the school they have learned.
Where the schools differ
The four Sunni schools of law. Follow the school you were taught, or ask a scholar you trust.
All four schools accept sujud as-sahw for omissions, additions and doubt, and agree that it does not replace a missing pillar. They differ on its ruling and its placement:
- Hanafi
- Sujud as-sahw is wajib when a wajib act is left out or delayed by mistake. It is done after the salam: after the final tashahhud, one says salam to the right, makes two prostrations, then recites the tashahhud again (with the salawat and a dua) and ends with the salam.
- Shafi'i
- Sujud as-sahw is a sunnah. It is always done before the salam: after the final tashahhud and salawat, one makes two prostrations and then says the salam.
- Maliki
- Sujud as-sahw is a sunnah. It is done before the salam when the mistake was an omission, and after the salam when it was an addition. When there was both an omission and an addition, it is done before the salam.
- Hanbali
- Sujud as-sahw is wajib in the situations that call for it. It is generally done before the salam, except in specific cases, such as when one said the salam before completing the prayer, where it is done after. Doing it on either side of the salam is valid.
In practice
- In Asr you stand up after two units without sitting for the tashahhud and only remember once standing. Continue the prayer and make sujud as-sahw at the end.
- Praying Dhuhr alone, you are unsure whether you have prayed three or four units. Following the majority, you assume three, pray a fourth, then make sujud as-sahw.
- You realise in the third unit that you forgot a prostration in the second. Ask a teacher of your school how to correct it, as the schools have detailed rules, but note that the missed prostration must be made up.
Common misunderstandings
- Any mistake ruins the prayer. Most mistakes are fixed by sujud as-sahw; only missing a pillar or condition requires more.
- Sujud as-sahw covers everything, even a missed prostration. A missed pillar must be performed; the extra prostrations are added on top.
- The follower must do sujud as-sahw for his own small slip. When praying behind an imam, the imam bears the follower's minor mistakes.
Check your understanding
Try to explain the answer in two sentences, in your own words, as if to a friend. Then read the short answer again and compare.
Suggested lessons
Courses, lessons and guides that teach this topic step by step.
Review and provenance
- Written by
- Islamic Portal editorial team
- Added
- 10 November 2026
Corrections
No corrections have been needed.
