The night prayer, prayed the Hanafi way, step by step
Witr is the odd-numbered prayer that closes the night, prayed after Isha and before Fajr. The Prophet never left it, at home or on a journey. This guide explains the Hanafi way to pray it, with the ruling, the timing, the Qunoot, and what to do when something goes wrong.
In short, How to Pray Witr Prayer in the Hanafi way is this: pray three rakats together with one salam at the end, and recite Dua-e-Qunoot before ruku in the third rakat. See the steps.
The word witr means odd, or single. The prayer is called Witr because it is prayed in an odd number of rakats, and it turns the night prayer into an odd number. It closes the night prayer, so it is the last prayer of the night.
The Prophet said, "Make Witr the last of your prayers at night." (Sahih al-Bukhari 998) He also said, "Allah is Witr and loves what is odd, so pray Witr, O people of the Quran." (Sunan Abi Dawud 1416, graded sahih) These two reports explain why Witr holds a special place.
In the Hanafi school, Witr is wajib, which means necessary: it sits one level below fard, so leaving it without a valid reason is sinful, and a missed Witr must be made up. The other three schools hold that Witr is a strongly confirmed sunnah, not wajib.
Hanafi scholars base the ruling on the Prophet's words: "Witr is a duty on every Muslim." (Sunan Abi Dawud 1422, graded sahih) They read this command as a duty above sunnah, while other scholars read it as strong encouragement.
Ali (may Allah be pleased with him) said Witr is not obligatory like the prescribed prayers, but the Prophet taught it as a sunnah and said, "Allah is Witr and loves Witr, so pray Witr, O people of the Quran." (Jami at-Tirmidhi 453) Both views deserve respect, but a Hanafi should treat Witr as a duty he does not skip.
The time for Witr starts after you have prayed Isha, and it ends when Fajr begins. Aishah (may Allah be pleased with her) reported that the Prophet prayed Witr at different hours of the night, from after Isha to the last hour before dawn. (Sahih al-Bukhari 996) The Prophet also said, "Pray Witr before you reach the morning." (Sahih Muslim 754)
The best time depends on whether you will wake again. Whoever is sure he will wake for Tahajjud should delay Witr until after it, so Witr stays the last prayer of the night. Whoever fears he will not wake should pray Witr before sleeping. (Sahih Muslim 755)
Abu Hurayrah (may Allah be pleased with him) said the Prophet advised him to pray Witr before sleeping. (Sahih al-Bukhari 1981) If you cannot manage any other night prayer, do not go to sleep without Witr.
Witr is prayed in an odd number, and the Prophet prayed it in different numbers on different nights. The most common practice is three rakats, and the Hanafi school always prays three, joined together with one salam.
| Method | Rakats | How it is prayed |
|---|---|---|
| Hanafi | 3 | Three rakats joined together, one salam at the end |
| Two plus one | 2 + 1 | Two rakats with salam, then one separate rakat |
| Single | 1 | One rakat prayed on its own |
The Hanafi form is the one this guide teaches. It looks like Maghrib, with a sitting after the second rakat, but every rakat has a surah after Al-Fatihah, and the third rakat adds an extra takbir and Qunoot before ruku.
How to Pray Witr Prayer in the Hanafi way is best learned one rakat at a time, so the steps below take each rakat in order, from the intention to the final salam.
Start with wudu, face the qiblah, and make the intention in your heart to pray three rakats of Witr for Allah. You do not need to say the intention aloud. If you need to refresh your wudu first, read our guide on how to do wudhu.
Many people recite Surah Al-Ala, Surah Al-Kafirun and Surah Al-Ikhlas in the three rakats, because the Prophet did so in Witr, as reported by Ubayy ibn Kab. Any surah you know is valid, so beginners can use short surahs they have memorised.
Dua-e-Qunoot is the supplication recited while standing in the third rakat, before ruku. In the Hanafi school it is wajib, so it is part of the prayer, not an extra. If you have not memorised it yet, recite any short dua in its place until you learn it.
The Hanafi wording is the one reported from Umar ibn al-Khattab (may Allah be pleased with him). The Arabic is below, with its English meaning, and the full text with transliteration is on our Dua-e-Qunoot text page.
اللَّهُمَّ إِنَّا نَسْتَعِينُكَ وَنَسْتَغْفِرُكَ، وَنُؤْمِنُ بِكَ وَنَتَوَكَّلُ عَلَيْكَ، وَنُثْنِي عَلَيْكَ الْخَيْرَ، وَنَشْكُرُكَ وَلَا نَكْفُرُكَ، وَنَخْلَعُ وَنَتْرُكُ مَنْ يَفْجُرُكَ، اللَّهُمَّ إِيَّاكَ نَعْبُدُ، وَلَكَ نُصَلِّي وَنَسْجُدُ، وَإِلَيْكَ نَسْعَى وَنَحْفِدُ، وَنَرْجُو رَحْمَتَكَ وَنَخْشَى عَذَابَكَ، إِنَّ عَذَابَكَ بِالْكُفَّارِ مُلْحِقٌ
O Allah, we seek Your help and ask Your forgiveness, we believe in You and rely on You, we praise You with all good, we thank You and are not ungrateful to You, and we cast off and leave whoever disobeys You. O Allah, You alone we worship, to You we pray and prostrate, and to You we hasten and strive. We hope for Your mercy and fear Your punishment. Your punishment will surely reach the disbelievers.
Read Qunoot quietly, with your hands folded as in standing. After it, say Allahu Akbar and go into ruku without raising your hands again.
The most common mistake is giving salam after the second rakat: in the Hanafi method you sit for the Tashahhud only, then stand for the third rakat. A second mistake is reciting Qunoot after ruku, which belongs to other schools.
If you forget Qunoot and remember it only after ruku, do not go back for it. Complete the prayer and perform sajda sahw, the two prostrations of forgetfulness, before the final salam. The same rule applies if you recite Qunoot in the first or second rakat by mistake: recite it again in the third rakat and perform sajda sahw at the end.
A third mistake comes from the middle sitting. Reciting Durood after the Tashahhud there delays the standing for the third rakat, so it also requires sajda sahw. Durood and the closing dua belong to the final sitting only, so keep the middle sitting short.
If you sleep through Witr or forget it, pray it when you remember. The Prophet said, "Whoever sleeps through Witr or forgets it should pray it when he remembers." (Sunan Abi Dawud 1431) In the Hanafi school, a missed Witr is made up as qada, in the same way as a missed fard prayer.
How to Pray Witr Prayer as qada is the same as praying it on time: three rakats, one salam, and Qunoot in the third rakat. If you prayed Witr early in the night and then wake for Tahajjud, pray Tahajjud in pairs and do not repeat Witr.
In Ramadan, Witr is usually prayed in congregation after Taraweeh, and the imam recites Qunoot aloud in the third rakat. Follow the imam, and praying Witr with the congregation counts as your Witr for the night.
These questions come up often from readers learning How to Pray Witr Prayer for the first time.
Can I pray Witr with one rakat?
In the Hanafi school, no: Witr is three rakats joined together. Other schools allow one rakat on its own, so follow the school you learn from and do not mix the methods in one prayer.
What if I do not know Dua-e-Qunoot yet?
Recite any short dua you know in its place, such as "Rabbana atina fid-dunya hasanah," and learn Qunoot as soon as you can. (Quran 2:201) The prayer is valid while you are learning, so do not delay Witr because of it.
Can I pray Witr before Isha?
No. Witr is only valid after the Isha prayer, so pray Isha first, then Witr.
Sources: Sahih al-Bukhari 998, 996, 1981; Sahih Muslim 754, 755; Sunan Abi Dawud 1416, 1422, 1431; Jami at-Tirmidhi 453. Method checked against IslamQA: On Performing the Witr Prayer.
Learn the prayers and supplications that go with Witr.
Witr Prayer Dua-e-Qunoot How to Do WudhuBook a FREE 30-minute demo class with a qualified online Quran teacher, one-to-one, for kids and adults.
Book Your Free Demo Class WhatsApp Us