Witr and Sunnah Prayers

In short
- Extra prayers fill the gaps in your fard (must-do) prayers. On the Day of Judgement, they make up for what was missing.
- Pray twelve regular sunnah rakat a day, and Allah builds you a house in Paradise. The two before Fajr matter most of all.
- Witr is the last prayer of the night. Hanafis say it is wajib (a must). The other schools say it is a strong sunnah. Either way, do not leave it.
- Tahajjud (night prayer), Duha (morning prayer) and Tarawih (Ramadan night prayer) bring a big reward. Pray what you can, and keep it up.
- Sunnah prayers are best prayed at home. Your fard prayers are best in the masjid.
Why pray extra prayers?
Allah asks us to pray five fard (must-do) prayers each day. On top of these, Nabi ﷺ prayed many extra ones. These are called sunnah or nafl (extra, by choice) prayers. If you miss them, it is not a sin. But they bring a lot of good.
- They fill the gaps. Our fard prayers are never perfect. Our minds wander. We rush. Nabi ﷺ said the first thing we will be asked about is salah. If something is missing from the fard, Allah will say: look, does My servant have any extra prayers? Then the gaps will be filled with them1.
- A house in Paradise. Nabi ﷺ said: whoever prays twelve rakat (units of prayer) of sunnah in a day and a night, Allah builds a house for them in Paradise2. His wife Umm Habibah heard this. She said she never missed them after that.
- The best prayer after the fard is prayer at night3.
So think of sunnah prayers as a gift, not a burden. Even a few, kept up every day, make a big difference.
Sources for this section
- 1(Tirmidhi 413)
- 2(Muslim 728)
- 3(Muslim 1163)
Which sunnahs go with each daily prayer?
Some sunnah prayers go with the five daily prayers. Some come before the fard, and some after. Scholars call the ones Nabi ﷺ almost never missed sunnah mu'akkadah (the strong sunnahs).
Umm Habibah listed the twelve rakat in detail4:
| Prayer | Before the fard | After the fard |
|---|---|---|
| Fajr | 2 rakat (the strongest of all) | None |
| Dhuhr | 4 rakat (some pray 2) | 2 rakat |
| Asr | No strong sunnah | None |
| Maghrib | No strong sunnah | 2 rakat |
| Isha | No strong sunnah | 2 rakat, then Witr |
Why are the two before Fajr special?
Aisha said Nabi ﷺ was more careful about these two than about any other extra prayer5. He said they are better than this world and everything in it6. He kept them even when he traveled7. Keep them short and light.
Four or two before Dhuhr?
Both are correct. Each Companion told what they saw. Nabi ﷺ also said: whoever keeps up four before Dhuhr and four after, Allah keeps them away from the Fire10.
What do the schools say?
- Hanafi: the strong sunnahs are the twelve rakat in the table. That means four before Dhuhr, prayed together with one salam at the end.
- Shafi'i and Hanbali: the strong sunnahs are ten rakat, with two before Dhuhr, as Ibn Umar reported11. Praying four is still good.
- Maliki: the two before Fajr matter most. It is good to pray before and after the other prayers too, but there is no fixed number of strong sunnahs.
What else can you add?
- Before Asr: some people pray four. This is a good extra, not a strong sunnah.
- Before Maghrib: Nabi ﷺ said: pray before Maghrib. Then he added: for whoever wants to12. So you can pray two short rakat between the adhan and the prayer, but you do not have to.
Sources for this section
- 4(Tirmidhi 415)
- 5(Bukhari 1163)
- 6(Muslim 725)
- 7(Bukhari 1159)
- 8(Bukhari 1182)
- 9(Bukhari 1180)
- 10(Tirmidhi 428)
- 11(Bukhari 1180)
- 12(Bukhari 1183)
What is Witr?
Witr means "odd number". It is a short prayer with an odd number of rakat, prayed after Isha. Nabi ﷺ said: make Witr your last prayer of the night13.
Do you have to pray it?
- Hanafi: Witr is wajib. That is one level below fard. Leaving it is a sin, and if you miss it, you must make it up.
- Maliki, Shafi'i and Hanbali: Witr is a sunnah mu'akkadah, the strongest of all the sunnahs. Missing it is not a sin, but you should not leave it.
Nabi ﷺ said: Witr is a duty on every Muslim. Whoever wants to pray it as five, three or one rakat may do so14. Hanafis take this as proof that it is a must. The other schools read "duty" as "very strongly encouraged".
When do you pray it?
- Its time starts after you pray Isha and lasts until Fajr starts.
- If you will wake up to pray at night, pray Witr at the end of the night. That is better. If you are not sure you will wake up, pray it before you sleep15.
- Abu Hurairah said Nabi ﷺ advised him to pray Witr before sleeping16. So praying it after Isha is a safe choice for most people.
- Pray Witr only once a night. Nabi ﷺ said: there are no two Witrs in one night17. Say you prayed Witr after Isha, and then you wake up for tahajjud. Pray in twos, and do not pray Witr again.
Sources for this section
- 13(Bukhari 998)
- 14(Abu Dawud 1422)
- 15(Muslim 755)
- 16(Bukhari 1178)
- 17(Tirmidhi 470)
How do you pray Witr?
Witr can be one rakah, or three, five, seven, nine or eleven. Nabi ﷺ said: Witr is one rakah at the end of the night prayer18. Most people pray three.
Three rakat, the Hanafi way
- Pray it like Maghrib: three rakat, sit after the second rakah, and say salam once at the end.
- Recite Surah al-Fatihah and another surah in all three rakat.
- In the third rakah, after you recite, say Allahu akbar and raise your hands. Then fold them again and read the qunut dua. Then go into ruku (bowing).
Three rakat, the way of the other schools
- Two, then one: pray two rakat and finish with salam. Then stand and pray one rakah on its own. Malikis do this. Shafi'is and Hanbalis like this way best.
- Three with one sitting: Shafi'is and Hanbalis also allow three rakat in a row, sitting only once, at the very end. Try not to make it look exactly like Maghrib.
What do you recite?
When Nabi ﷺ prayed three, he recited Surah al-A'la (87) in the first, Surah al-Kafirun (109) in the second, and Surah al-Ikhlas (112) in the third. After the salam he said Subhanal-Malikil-Quddus (Glory be to the King, the Most Pure) three times19. This is a sunnah, not a must. Any surah is fine.
Sources for this section
- 18(Muslim 752)
- 19(Nasai 1699)
What is the qunut in Witr?
The qunut is a short dua you say while standing in the last rakah of Witr. The schools say different things about it:
| School | When in the year | Where in the rakah |
|---|---|---|
| Hanafi | Every night, all year | Before ruku, after you recite |
| Shafi'i | Only in the second half of Ramadan | After ruku |
| Hanbali | Every night, all year | After ruku |
| Maliki | Not in Witr (they say the qunut in Fajr instead) | None |
Both ways come from hadith. Ubayy ibn Ka'b reported the qunut before ruku20. Anas said the qunut was before ruku, and that Nabi ﷺ said it after ruku for one month21.
What are the words?
Nabi ﷺ taught his grandson al-Hasan these words to say in Witr22:
Allahummahdini fiman hadayt, wa 'afini fiman 'afayt, wa tawallani fiman tawallayt, wa barik li fima a'tayt, wa qini sharra ma qadayt, fa innaka taqdi wa la yuqda 'alayk, wa innahu la yadhillu man walayt, tabarakta Rabbana wa ta'alayt.
It means: O Allah, guide me along with those You have guided. Keep me safe along with those You have kept safe. Look after me along with those You look after. Bless what You have given me. Protect me from the harm of what You have decided. You decide, and no one decides over You. No one You take as a friend is ever brought low. Blessed and High are You, our Lord.
Many Hanafis read a different qunut that starts Allahumma inna nasta'inuka (O Allah, we ask You for help). The Companions used it. Either dua is fine.
Nabi ﷺ also said at the end of his Witr: O Allah, I ask Your pleasure to save me from Your anger, and Your forgiveness to save me from Your punishment. I ask You to save me from You. I cannot count all Your praises. You are as You have praised Yourself23.
Sources for this section
- 20(Nasai 1699)
- 21(Bukhari 1002)
- 22(Abu Dawud 1425)
- 23(Abu Dawud 1427)
What if you missed Witr?
Nabi ﷺ said: if you sleep through Witr or forget it, pray it when you remember or wake up2425.
- Hanafi: Witr is a must, so you have to make it up, as three rakat with the qunut. Do it at a time when prayer is allowed, for example after sunrise.
- Other schools: it is good to make it up, because of the hadith above.
Sources for this section
- 24(Tirmidhi 465)
- 25(Abu Dawud 1431)
What is Tahajjud?
Tahajjud, or qiyam al-layl, means praying at night, usually after some sleep. It is the best prayer after the fard26.
Nabi ﷺ said: every night, in the last third of the night, our Lord comes down to the lowest heaven and says: who is calling Me, so I can answer? Who is asking Me, so I can give? Who is asking Me to forgive, so I can forgive?27. This is the best time for dua.
How did Nabi ﷺ pray it?
- Aisha said he never prayed more than eleven rakat at night, in Ramadan or any other month. He prayed four, very long and beautiful. Then four more, then three28.
- He also said: the night prayer is prayed two rakat at a time. When you fear Fajr is near, pray one rakah to make the total odd29.
- Then he lay down until the call for Fajr, and prayed the two light rakat before Fajr30.
How can you start?
- Wake up 15 or 20 minutes before Fajr. Make wudu.
- Pray two rakat. Then two more if you can. Then pray Witr, if you did not pray it before sleeping.
- Spend a few minutes in dua. This is the time when Allah asks who needs anything.
- Wake your husband or wife to pray with you. Nabi ﷺ made dua for the man who wakes his wife to pray, and the woman who wakes her husband31.
See also the Tahajjud reminder in the app. Even two rakat a night, kept up, is more loved by Allah than one long night once a year.
Sources for this section
- 26(Muslim 1163)
- 27(Bukhari 1145)
- 28(Bukhari 1147)
- 29(Bukhari 990)
- 30(Bukhari 1123)
- 31(Abu Dawud 1308)
What is Duha?
Duha is a prayer in the morning, after the sun has come up and before Dhuhr.
Nabi ﷺ said: every morning, each joint in your body owes a charity. Every SubhanAllah is a charity. Every Alhamdulillah is a charity. Telling people to do good is a charity. And two rakat of Duha cover all of it32.
- When: from about 15 to 20 minutes after sunrise, until about 15 minutes before Dhuhr. The best time is mid-morning, when the day gets hot33.
- How many: at least two. Aisha said Nabi ﷺ prayed four, and sometimes more34. On the day Makkah was opened to the Muslims, he prayed eight35.
- Is it a must? No, it is a sunnah. Nabi ﷺ advised Abu Hurairah to keep it up36.
If you work, you can pray two rakat of Duha in your morning break.
Sources for this section
- 32(Muslim 720)
- 33(Muslim 748)
- 34(Muslim 719)
- 35(Bukhari 1176)
- 36(Bukhari 1178)
What is Tarawih?
Tarawih is the night prayer in Ramadan. It is prayed after Isha, usually behind the imam in the masjid. Nabi ﷺ said: whoever prays at night in Ramadan with faith, hoping for reward, all their past sins are forgiven37.
Nabi ﷺ led it in the masjid for a few nights. Then he stopped, so that it would not become a duty on people38.
The full story: why Nabi ﷺ stopped leading Tarawih
One night in Ramadan, in the middle of the night, Nabi ﷺ went out and prayed in the masjid. A few men saw him and prayed behind him39.
In the morning, people talked about it. So on the second night, more people came and prayed behind him. On the third night, the masjid was full.
On the fourth night, the masjid was so full it could not hold everyone. But Nabi ﷺ did not come out. He only came out for Fajr.
After Fajr he turned to the people and said: I knew you were here. But I was afraid this night prayer would be made a duty on you, and you would not be able to keep it up40.
After he passed away, people prayed it alone or in small groups. Then Umar, the second caliph, saw the small groups. He gathered them all behind one reciter, Ubayy ibn Ka'b41. That is how Tarawih behind one imam started. Muslims have prayed it that way ever since.
What does this teach us?
- Nabi ﷺ cared about making things easy for us. He held back a good deed so it would not become a heavy duty.
- Praying Tarawih together is a sunnah. Nabi ﷺ led it, and only stopped out of mercy. Umar brought it back once there was no risk of it becoming a duty.
8 or 20 rakat?
- Eight rakat (plus Witr): Aisha said Nabi ﷺ never prayed more than eleven at night, in Ramadan or any other month42.
- Twenty rakat (plus Witr): this became the practice in the time of Umar and the Companions. It is the main view of the Hanafi, Shafi'i and Hanbali schools. The old Maliki practice in Madinah was even longer.
Both are fine. There is no top limit to night prayer43. Pray with your local masjid. If you need to leave after eight, that is fine. Please do not argue with others about this.
Sources for this section
- 37(Bukhari 2009)
- 38(Bukhari 2012)
- 39(Bukhari 2012)
- 40(Bukhari 2012)
- 41(Bukhari 2010)
- 42(Bukhari 2013)
- 43(Bukhari 990)
What other short sunnah prayers are there?
Two rakat when you enter the masjid (tahiyyat al-masjid)
Nabi ﷺ said: when you enter a masjid, pray two rakat before you sit down44. If you walk in and go straight into a fard or sunnah prayer, that counts too.
Even during the Friday talk, Nabi ﷺ told a man who sat down to stand and pray two short rakat45. Shafi'is and Hanbalis follow this. Hanafis and Malikis say: sit and listen to the talk. Follow your local masjid.
Two rakat after wudu
Nabi ﷺ said to Bilal: tell me the best deed you have done, because I heard your footsteps ahead of me in Paradise. Bilal said: every time I make wudu, day or night, I pray whatever I can after it46.
Sources for this section
- 44(Bukhari 444)
- 45(Bukhari 1170)
- 46(Bukhari 1149)
Why pray your sunnahs at home?
Nabi ﷺ said: pray in your homes. The best prayer a person prays is the one at home, except the fard prayers47. He himself prayed the sunnahs after Maghrib and Isha in his house48.
- It fills your home with prayer and blessing.
- Your children learn by watching you.
- It keeps your worship private, away from showing off.
If you might not pray them once you get home, praying them in the masjid is still very good.
Sources for this section
- 47(Bukhari 731)
- 48(Bukhari 1180)
Common questions
- I arrived late. The imam has started Fajr and I have not prayed the two sunnah.
- Join the imam. Most scholars say: pray the two sunnah after the fard, or after sunrise. A man once prayed them right after Fajr, and Nabi ﷺ let it pass49. He also said: if you did not pray them, pray them after sunrise50. Hanafis say wait until after sunrise.
- Do I pray the sunnahs when I travel?
- You do not have to. Ibn Umar said Nabi ﷺ did not pray the extra prayers on his journeys51. But he kept the two before Fajr and Witr, so try hard to keep those two.
- I prayed Witr after Isha. Can I still pray tahajjud later?
- Yes. Pray two rakat at a time, as many as you like. Just do not pray Witr again, because there are no two Witrs in one night52.
- I work long shifts. I cannot pray all the sunnahs.
- Pray the fard on time first. Then keep the two before Fajr, and Witr. Add more on your days off. Allah sees your effort.
- Can I pray sunnah prayers sitting down?
- Yes. You can pray extra prayers sitting down, even with no excuse. But standing brings more reward. Nabi ﷺ himself sometimes prayed two rakat sitting at night53.
- Can a woman lead other women in Tarawih at home?
- Shafi'is and Hanbalis say yes. Hanafis allow it but say it is better to avoid it. Malikis do not allow it. She stands in the middle of the first row, not in front.
- I am a new Muslim. Do I have to do all of this?
- No. The five fard prayers come first. Learn them well. Then add Witr, then the two before Fajr, slowly. There is no rush.
Sources for this section
- 49(Abu Dawud 1267)
- 50(Tirmidhi 423)
- 51(Bukhari 1101)
- 52(Tirmidhi 470)
- 53(Bukhari 1159)
This guide teaches what most scholars hold and notes where the four schools differ. For your own situation, ask a scholar you trust or your local masjid.