Not sure how many rakaa you prayed?
Forgetting and confusion during prayer
You say the salam, and instead of calm there is a question: was that three or four? You replay the prayer in your head and the more you look for the answer, the less certain you get. If that is you, it is far more common than you think — and it does not mean your prayer was wrong.
Prayer Memory keeps the count for you, silently, so you can give your attention to the prayer instead of the number.
Why It Happens
Losing count is almost always a matter of attention, not memory. The movements of salah are familiar enough that the body performs them without supervision, and the moment your mind steps away — a noise from the next room, a thought about work, the sheer tiredness of Isha after a long day — the count is the first thing to go.
For some people it is also waswasa: repetitive, intrusive doubt that keeps asking the question no matter how clear the answer is. That is a different problem from an honest slip, and scholars treat it differently — the advice there is to stop chasing the doubt rather than to recount.
What to Do When It Happens
The hadith of Abu Sa’id al-Khudri (Sahih Muslim 571) gives the rule: when you doubt how many rakaa you have prayed, set the doubt aside, build on the number you are certain of — which is the lower one — complete the prayer, and perform sujood as-sahw (two prostrations of forgetfulness) before the salam. The prayer is not repeated and it is not invalid.
There is one widely-noted exception: if you have a stronger assumption (ghalib al-zann) about the correct number rather than a pure fifty-fifty doubt, most scholars say you act on it, and the prostration comes after the salam. The madhhabs differ on some of these details — the Hanafi school, for example, places sujood as-sahw after the salam in essentially every case. For the full breakdown, see the sajdah sahw guide.
How Prayer Memory Prevents It
The fix is simple: take the counting out of your head. You calibrate Prayer Memory once to your normal praying pace, and from then on your Apple Watch gives a short, silent haptic pulse at each rakaa — no sound, no screen, nothing anyone praying next to you would notice.
If you would rather count yourself, there is a manual rakaa counter on the iPhone, and a Taraweeh mode that keeps track through 8 or 20 rakaa on long Ramadan nights. Everything works offline, with no account, and your prayer history stays on your device.
Either way, the answer to “was that three or four?” is already on your wrist.
Frequently Asked Questions
Never lose count in salah again
Prayer Memory is free to download, with an optional Pro upgrade inside the app for Apple Watch haptic guidance and Taraweeh mode.
Read more: Losing Count During Prayer? You’re Not Alone, the sajdah sahw guide, or the rakat count for every prayer.