Mistakes in Prayer

Forgot Whether You Prayed Three or Four Rak‘ahs?

If you forget how many rak‘ahs you prayed, build on what you are certain of, complete the prayer, and make sujud as-sahw.

1 August 20264 min read
Forgot Whether You Prayed Three or Four Rak‘ahs?

Forgetting how many rak‘ahs you prayed means you became unsure during salah, so you should build on what you are certain of, complete the prayer, and make sujud as-sahw according to the way you have learned.

In plain words, do not panic or restart straight away

If you are praying and suddenly think, “Was that my third rak‘ah or my fourth?” pause calmly for a moment.

You do not need to break the prayer immediately. The basic idea is simple: do not guess wildly, and do not let panic take over.

If you are genuinely unsure, take the lower number because that is what you are certain of. Then complete the prayer and perform the two prostrations of forgetfulness, known as sujud as-sahw.

The everyday example is being unsure in Dhuhr

Imagine you are praying Dhuhr. You stand up and suddenly cannot remember: “Is this my third rak‘ah or my fourth?”

If you have no strong feeling either way, treat it as the third rak‘ah. Pray one more rak‘ah after it so that you are sure you completed four.

Then make sujud as-sahw at the end of the prayer, following the method you normally follow in your madhhab or the way your local imam has taught you.

If one number feels clearly more likely, follow your learned method

Sometimes it is not equal doubt. You may pause and realise, “Actually, I am almost sure this is the fourth.”

In that case, many scholars allow you to act on what is most likely, then make sujud as-sahw. Other details, including whether sujud as-sahw is before or after salam, differ between recognised schools of law.

So the practical rule is:

  • If you follow a madhhab, follow its method.
  • If you pray behind a local imam, learn the method used in your mosque.
  • If you do not know yet, do not abandon the prayer; complete it as carefully as you can and ask someone knowledgeable afterwards.

What to do while you are still in the prayer

When the doubt happens before you finish salah, do this:

What to Do If You Forget the Number of Rak‘ahs

  1. Stay in the prayer. Do not stop or restart immediately.
  2. Pause briefly and think calmly.
  3. Consider which number is more likely. If one number seems clearly more likely, follow it according to the guidance you have learned.
  4. Choose the lower number if you are genuinely unsure.
  5. Complete any missing rak‘ah.
  6. Perform sujud as-sahw at the end of the prayer.
  7. Finish the prayer and move on. Avoid repeatedly replaying the prayer in your mind.

This is not about being perfect. It is about repairing the prayer with the guidance Allah has given this Ummah through the Sunnah and the understanding of the scholars.

If you remember only after salam

If you finish the prayer and then clearly remember you missed a rak‘ah, the matter is different from a passing doubt.

If it was very soon after salam, and you have not done anything that would normally break the continuity of prayer, you should ask a knowledgeable person how to complete it according to your school. In many cases, the person completes what was missed and makes sujud as-sahw.

But if it is only a vague doubt after the prayer is over, do not keep reopening the prayer. Ordinary doubts after finishing salah are not something to feed, especially if there is no clear certainty that something was missed.

If this happens often, treat it gently and firmly

Some people are not just forgetful once in a while. They are trapped in repeated doubts: “Did I pray three? Did I say the takbir? Did I make sujud twice?”

If this is your pattern, constantly restarting may make the anxiety stronger. In that case, you need a firmer rule: follow what you are taught, complete the prayer, and do not keep repeating it because of recurring whispers.

You can also make prayer easier to follow by keeping your salah calm and simple:

  • Pray in a quieter place when possible.
  • Do not rush the transitions.
  • Let each posture settle before moving.
  • Learn one clear sujud as-sahw method from a trusted teacher.
  • Avoid searching for multiple opinions in the middle of anxiety.

If the doubt feels obsessive or distressing, speak to both a knowledgeable Muslim teacher and, if needed, a mental health professional. Seeking help is not weakness.

Sujud as-sahw is a mercy, not a punishment

Sujud as-sahw exists because human beings forget. Your prayer is not meant to become a courtroom where every slip turns into despair.

Yes, salah matters. Yes, we should learn how to pray properly. But when a genuine mistake happens, Islam gives you a way to repair it and continue.

That is a mercy. It keeps you close to the prayer instead of pushing you away from it.

ThinkDeen reminder

A forgotten rak‘ah is not the end of your prayer journey; take the next small step by learning one clear sujud as-sahw method and using it calmly when you need it.

A small next step

Guard your prayers, one day at a time.

ThinkDeen helps you check in, notice your consistency, and gently return when a day does not go as planned.

Start today
More in Mistakes in Prayer