Salat al-Tawbah is a voluntary two-rak’ah prayer Muslims perform after committing a sin, paired with sincere istighfar (asking Allah’s forgiveness). It is not obligatory, but it’s one of the most encouraged acts in Islam and according to hadith, Allah forgives the one who prays it with a sincere heart.
What Is the Prayer of Forgiveness in Islam?

Salat al-Tawbah (also called Salatul Tawbah, or the Prayer of Repentance) is a voluntary nafl prayer of two rak’ahs that a Muslim performs after realizing they’ve sinned. It’s followed by istighfar sincerely asking Allah for forgiveness and it can be prayed at any time except during the few hours when prayer is restricted.
The word tawbah itself means “to return.” That’s the heart of it. You’re not performing a ritual to earn a pardon you’re turning back toward Allah after drifting away.
This isn’t a fringe practice. Abu Bakr (RA), the closest companion of the Prophet ﷺ, narrated that the Prophet ﷺ taught it directly: anyone who purifies himself well, prays two rak’ahs, then asks Allah for forgiveness, will be forgiven (Sunan Abu Dawud 1521).
Is Salat al-Tawbah Obligatory or Optional?
Direct answer: Salat al-Tawbah is mustahab highly recommended not obligatory (fard or wajib). You won’t be sinning by skipping it, but scholars across the major schools agree it’s one of the most beneficial voluntary acts available to a believer who wants to repent sincerely.
This distinction matters because it gets misstated online fairly often even on guides specifically about this topic. Knowing it’s sunnah rather than wajib actually makes the prayer easier to approach: there’s no pressure of obligation, only an open invitation.
Scholars are unanimous that this prayer is prescribed in the Shari’ah, meaning it has clear textual basis even though it isn’t required. You can pair it with other forms of seeking forgiveness istighfar throughout the day, charity, or simply changing your behavior rather than treating it as the only path back.
The Conditions for Sincere Repentance (Tawbah)
Praying two rak’ahs without meaning it behind them won’t do much. Islamic scholarship outlines four conditions that make repentance genuine:
- Sincere regret (Nadm). You actually feel sorrow over what you did, not just embarrassment at being caught or consequences you’re facing.
- Stopping the sin immediately (Iqa’). You can’t repent for something you’re still doing. The behavior has to end first.
- Resolving never to repeat it (Azm). A real, internal commitment even if you know you’re not perfect and might slip again later.
- Making things right with others (Radd al-Huquq). If your sin harmed another person theft, lying about someone, a debt you need to return what’s owed or seek their forgiveness too. Allah’s forgiveness doesn’t automatically settle what you owe another human being.
If your sin was strictly between you and Allah missing a prayer, a private thought, a moment of weakness the first three conditions are enough. The fourth only applies when someone else was wronged.
How to Pray Salat al-Tawbah, Step by Step
- Here’s the full process, start to finish. There’s no special wording required for most of it it follows the same structure as any other voluntary prayer. For a full guide on the prayer structure, see how to pray in islam step by step.
- Perform wudu thoroughly. Take your time with it. There’s a hadith that says every sin your eyes, hands, and feet were involved in is washed away with the water of a proper ablution (Sahih Muslim 244).
- Make your intention (niyyah). Quietly intend in your heart that you’re praying two rak’ahs of Salat al-Tawbah for the sake of Allah. No specific wording is required intention is something you hold, not necessarily something you recite aloud.
- Pray the first rak’ah. Recite Surah Al-Fatihah, followed by any surah you choose. Many people recite Surah Al-Ikhlas, but nothing specific is required by the Prophet ﷺ.
- Pray the second rak’ah. Same structure Al-Fatihah, then a surah of your choosing.
- Complete the prayer with tasleem. Finish exactly as you would any two-rak’ah voluntary prayer.
- Raise your hands and make dua. This is the heart of the prayer. Ask Allah directly and sincerely for forgiveness, in whatever words come from your heart or use one of the duas below if you want guidance.
There’s no requirement to recite anything in Arabic if you don’t know it. A sincere request for forgiveness, in any language, is valid. The sincerity is what’s being asked for not the vocabulary.
The Best Dua for Forgiveness Sayyidul Istighfar
If you only memorize one dua from this entire guide, this is the one scholars point to. The Prophet ﷺ called it the best way to ask Allah for forgiveness.
Arabic: اللَّهُمَّ أَنْتَ رَبِّي لَا إِلَهَ إِلَّا أَنْتَ، خَلَقْتَنِي وَأَنَا عَبْدُكَ، وَأَنَا عَلَى عَهْدِكَ وَوَعْدِكَ مَا اسْتَطَعْتُ، أَعُوذُ بِكَ مِنْ شَرِّ مَا صَنَعْتُ، أَبُوءُ لَكَ بِنِعْمَتِكَ عَلَيَّ وَأَبُوءُ لَكَ بِذَنْبِي، فَاغْفِرْ لِي فَإِنَّهُ لَا يَغْفِرُ الذُّنُوبَ إِلَّا أَنْتَ
Transliteration: Allahumma anta Rabbi, la ilaha illa anta, khalaqtani wa ana ‘abduka, wa ana ‘ala ‘ahdika wa wa’dika mastata’tu, a’udhu bika min sharri ma sana’tu, abu’u laka bini’matika ‘alayya wa abu’u laka bidhanbi, faghfir li fa innahu la yaghfirudh-dhunuba illa anta.
Meaning: “O Allah, You are my Lord. There is no god but You. You created me, and I am Your servant. I will remain faithful to my covenant with You as best I can. I seek refuge in You from the evil of what I have done. I acknowledge Your favor upon me, and I acknowledge my sin so forgive me, for none forgives sins except You.”
According to a hadith in Sahih al-Bukhari (6306), the Prophet ﷺ said that whoever recites this with firm conviction during the day and dies before evening, or recites it at night and dies before morning, will be among the people of Paradise.
Other Powerful Duas for Forgiveness in the Quran and Sunnah
Sayyidul Istighfar isn’t the only option. The Quran itself records the exact prayers two prophets made when seeking Allah’s forgiveness and Muslims still recite them today.
| Dua | When to Use | Source |
| Dua of Yunus (AS): “La ilaha illa anta, subhanaka, inni kuntu minaz-zalimin” (“There is no god but You. Glory be to You. I have wronged myself.”) | Distress, feeling trapped by your own mistakes | Quran 21:87 |
| Dua of Adam (AS): “Rabbana zalamna anfusana, wa in lam taghfir lana wa tarhamna lanakunanna minal-khasirin” (“Our Lord, we have wronged ourselves. If You don’t forgive us and have mercy on us, we will surely be among the losers.”) | General repentance after a clear personal mistake | Quran 7:23 |
| General Istighfar: “Astaghfirullaha wa atubu ilayh” (“I ask Allah’s forgiveness and I turn to Him in repentance.”) | Daily, repeated throughout the day | Practiced by the Prophet ﷺ, Sahih al-Bukhari 6307 |
A note on consistency: it’s narrated that the Prophet ﷺ who was without sin would still ask Allah for forgiveness more than seventy times a day (Sahih al-Bukhari 6307). That detail tends to reframe how people think about istighfar. It’s not a punishment for failure; it’s a habit of someone constantly aware of Allah.
Salat al-Tawbah vs. Istighfar What’s the Difference?

People often use these terms interchangeably, but they’re not quite the same thing.
Istighfar is simply the act of asking Allah for forgiveness saying “Astaghfirullah” or a longer dua. You can do it anywhere, anytime, even while walking or working.
Salat al-Tawbah is a complete two-rak’ah prayer that includes istighfar as its closing act. It requires wudu, a fixed prayer structure, and a dedicated moment set aside for it.
Think of istighfar as something you weave into daily life constant, light, repeatable. Salat al-Tawbah is the deliberate, focused version: you stop what you’re doing, purify yourself, and give Allah your full, undistracted attention specifically to repent.
Neither replaces the other. Many scholars recommend doing both frequent istighfar throughout the day, and Salat al-Tawbah when a specific sin weighs on you and you want to mark a clear moment of return.
There’s also a practical reason this distinction matters. Istighfar fits into a commute, a work break, or the few seconds before you fall asleep it asks nothing of your schedule. Salat al-Tawbah asks for a pause: wudu, a clear floor, a few uninterrupted minutes. For some sins, that pause is exactly the point. The act of physically stopping what you’re doing to address what you did carries a weight that a quiet phrase repeated in passing doesn’t always carry on its own.
When Is the Best Time to Pray for Forgiveness?
Direct answer: Salat al-Tawbah can be prayed at any time except during the few windows when prayer is restricted (right at sunrise, at solar noon, and right at sunset). That said, the last third of the night is widely considered the most spiritually potent time, based on a hadith describing Allah’s special attentiveness to those who ask during that hour.
According to a hadith reported by Abu Hurairah (RA) in Sahih Muslim, Allah descends in mercy during the last third of every night and asks: who is calling upon Me, that I may answer? Who is asking forgiveness, that I may forgive? That’s why many scholars pair Salat al-Tawbah with Tahajjud, the voluntary night prayer though pairing them isn’t a requirement, just a recommendation rooted in that hadith.
If 3 a.m. isn’t realistic for your schedule, that’s fine. The prayer’s validity doesn’t depend on the hour. Sincerity does the heavy lifting; timing is a bonus, not a condition.
There’s also a practical reason scholars recommend acting quickly rather than waiting for an ideal moment at all. Several hadiths frame repentance as something best done as soon as a person recognizes their mistake, rather than postponed until conditions feel “right.” Delaying a sincere apology to Allah or to anyone else tends to let the moment of genuine remorse fade. If you feel the pull to repent right now, in the middle of the afternoon, that’s the better time to act on it than waiting for midnight to arrive.
A Note on Sincerity Over Ritual

It’s easy to treat a prayer like this as a checklist wudu, two rak’ahs, a memorized Arabic phrase, done. But scholars consistently emphasize that the mechanics of Salat al-Tawbah were never the point. The Prophet ﷺ didn’t prescribe a specific surah to recite in it, didn’t require a fixed dua afterward, and didn’t set rigid conditions beyond purification and sincerity.
That openness is intentional. It tells you this prayer is meant to meet you wherever you are whether you know fluent Arabic or none at all, whether your sin is small and private or something heavier you’re still working through.
If you’re unsure whether your own repentance “counts,” that uncertainty is usually a good sign, not a bad one. People who genuinely don’t care tend not to ask the question.
Conclusion
Salat al-Tawbah is a voluntary prayer that reflects a Muslim’s sincere repentance and desire to seek Allah’s forgiveness. When combined with genuine remorse, abandoning the sin, and a firm intention not to repeat it, this prayer is a meaningful act of worship that strengthens one’s relationship with Allah. Through sincere tawbah, believers can find hope in Allah’s mercy and strive to live a more righteous life.
FAQs
Is Salat al-Tawbah obligatory in Islam?
No. It’s a mustahab (highly recommended) voluntary prayer, not a fard (obligatory) one. You aren’t sinning by not praying it, but it’s strongly encouraged after committing a sin.
Can I pray Salat al-Tawbah again for the same sin?
Yes. As long as your repentance is sincere each time, you can repeat it for the same sin or a different one. Repetition isn’t a sign of insincerity it’s part of being human.
Do I need to know Arabic to make this prayer valid?
No. While the two rak’ahs follow the standard structure of Arabic recitation used in all Salah, the closing dua for forgiveness can be made sincerely in any language. The sincerity of the request matters more than the vocabulary.
Does saying “Astaghfirullah” alone forgive my sins?
Saying it sincerely is a genuine form of istighfar and is rewarded, but full repentance (tawbah) also involves regret, stopping the sin, and resolving not to repeat it. Astaghfirullah is the verbal core of that process, not a replacement for the rest of it.
What is the best time to pray for forgiveness?
Any time outside the restricted prayer windows is valid, but the last third of the night is considered especially powerful based on hadith describing Allah’s mercy during that hour.