Advertisement

What if I forget how many rakat I prayed?

Prayer rug
Photo: Unknown author, CC0 via Wikimedia Commons

If you lose count of your rakat during prayer, go with the lower number, finish the prayer from there, and add two prostrations of forgetfulness before the salam. If the doubt comes only after you've finished, ignore it. Your prayer is fine.

Build on what you are sure of

The Prophet ﷺ said: "If any of you is in doubt in his prayer and does not know how many he has prayed, three or four, let him throw away the doubt and build on what he is certain of, then make two prostrations before saying salam" (Sahih Muslim 571). He added that if it turns out you prayed five, the prostrations make it even; and if you prayed exactly four, they humiliate the Shaytan.

So the rule is simple: the lower number is the certain one. Unsure whether it's your second or third rakah of Dhuhr? Count it as the second, pray two more, then do the extra prostrations.

When you have a strong feeling

Sometimes you're not 50/50: you are fairly sure it was the third. In another narration the Prophet ﷺ said to aim for what is most likely correct and complete the prayer on that basis (Sahih al-Bukhari 401). That's why scholars differ a little:

  • Shafi'i and Maliki: always take the lower number.
  • Hanafi and Hanbali: if one number feels clearly more likely, go with it; if not, take the lower number.

Either way, finish with the prostration of forgetfulness. See What do Muslims say when they pray?

فَٱتَّقُوا۟ ٱللَّهَ مَا ٱسْتَطَعْتُمْ "So fear Allah as much as you are able..." Quran 64:16

Doubts after the prayer

Once you've said salam, a doubt about how many rakat you prayed is ignored, according to scholars, unless you are actually certain you missed one. If you're certain, and it's soon after, stand up and pray the missing rakah, then do the prostrations. If a lot of time has passed, repeat the prayer.

If it happens all the time

Constant doubting can be waswasa, whispers from Shaytan meant to make prayer feel exhausting. Scholars advise people with frequent doubts to stop acting on them and assume the prayer was complete. Ignoring the whisper is how it fades. If anxiety around worship is affecting you a lot, talk to a trusted imam, and to a doctor or therapist if needed.

Most new Muslims lose count because they're still learning the words. That gets easier quickly. See How do I pray as a Muslim?

Key points
  • Unsure during prayer? Take the lower number and continue.
  • Add two prostrations of forgetfulness before the salam.
  • Ignore doubts that come after you finish.
  • Frequent doubts are waswasa; don't give in to them.
Tip: Use a small trick while learning: after each rakah, glance at a different finger resting on your thigh, or recite a different short surah in each rakah. Then you'll always know where you are. See How many times a day do Muslims pray?

People also ask

Is there a minimum length for prayer?

No set number of minutes, but every prayer needs its required parts, done calmly. Here's the minimum for a short valid salah and how long it takes.

Read the full answer →
What if someone at the mosque corrects my prayer?

If someone at the mosque corrects your prayer, thank them and check. It may be a real mistake or just a different school of thought. Don't lose heart.

Read the full answer →
Can Muslim athletes sing the national anthem?

Yes, most scholars say Muslim athletes can stand for and sing the national anthem. Some stand silently; here's what players do and why.

Read the full answer →
Can I make wudu with a tattoo?

Yes, wudu is valid with a tattoo because the ink is under the skin and doesn't block water. What about new, henna and stick-on tattoos?

Read the full answer →
Do we have free will in Islam?

Yes, in Islam humans have real free will and are accountable for their choices, while Allah knows and wills all that happens. Here's how both fit.

Read the full answer →