Witr Prayer (Salat al-Witr): Complete Guide
How to pray Witr, its ruling across the four madhabs, timing, rak’ahs, Qunoot placement, and the hadith evidence behind each detail, with sources cited and each hadith’s grading noted.

1What Is Witr Prayer?
Witr (وِتْر) means “odd-numbered.” Salat al-Witr is an odd-rakah prayer offered after Isha and before Fajr, closing out the night’s voluntary prayers. The Prophet ﷺ described it as the final prayer of the night, and encouraged every believer to make it a regular habit rather than an occasional act.
“Make the Witr your last prayer at night.”
Unlike the five daily prayers, Witr is not classified as fard (obligatory) by the majority of scholars, but its consistent practice by the Prophet ﷺ — who reportedly never abandoned it, whether traveling or resident — places it among the most emphasized Sunnah prayers in Islam.
2Ruling of Witr in the Four Madhabs
Scholars agree Witr is a confirmed Sunnah, but they differ on its precise legal weight. Select a madhab below to see its position and reasoning.
Wajib (Necessary)
The Hanafi school holds Witr to be wajib — a degree below fard but obligatory in practice, meaning its deliberate abandonment is sinful, though denying its obligation does not remove one from Islam (unlike denying a fard). This is based on reports of the Prophet ﷺ’s continuous, unbroken observance of Witr.
Sunnah Mu’akkadah (Highly Emphasized Sunnah)
The Shafi’i school considers Witr a strongly confirmed Sunnah, not obligatory. They cite the hadith in which the Prophet ﷺ told a Bedouin that only the five daily prayers are obligatory, and “nothing else, unless you volunteer” (Sahih al-Bukhari 46), classifying Witr among the voluntary night prayers.
Sunnah Mu’akkadah
The Maliki school likewise holds Witr as a heavily emphasized Sunnah — recommended so strongly that a person who habitually neglects it is considered to have compromised their religious diligence, though no sin is recorded for occasional omission.
Sunnah Mu’akkadah
The Hanbali school agrees Witr is a confirmed Sunnah rather than obligatory, while still describing its abandonment as disliked (makruh) and a sign of deficient character, based on the Prophet ﷺ’s statement that whoever does not pray Witr “is not one of us.”
Across all four schools, Witr is treated as a serious, near-daily obligation of practice — the disagreement is one of legal classification, not of importance.
3When Is Witr Prayed?
Earliest Time
Immediately after the Isha prayer (and any Sunnah or Taraweeh prayed after it).
Latest Time
Just before the Fajr adhan. Witr prayer ends when true dawn (Fajr time) enters.
Best Time
The last third of the night, for those who are able to wake up — the Prophet ﷺ prayed Witr at various times but praised ending the night with it.
“Whoever fears he will not wake in the last part of the night should pray Witr at its beginning; whoever hopes to wake in the last part should pray Witr then, for prayer at the end of the night is witnessed [by the angels], and that is better.”
4How Many Rak’ahs?
Witr can validly be prayed as 1, 3, 5, 7, 9, or 11 rak’ahs — always an odd number, in keeping with its name. The most commonly practiced and recommended form is 3 rak’ahs.
| Method | Description | Notes |
|---|---|---|
| 1 Rak’ah | A single odd rak’ah, valid on its own. | Simplest valid form; less commonly practiced alone. |
| 3 Rak’ahs (joined) | Prayed like Maghrib in structure but with one final tashahhud, no sitting after the 2nd rak’ah in the Hanafi method. | Most widely practiced; Qunoot recited in the 3rd rak’ah. |
| 3 Rak’ahs (2+1) | Two rak’ahs prayed with salam, followed by a separate single rak’ah. | Preferred method in the Shafi’i and Hanbali schools. |
| 5 / 7 / 9 Rak’ahs | Prayed continuously with tashahhud only in the second-to-last and final rak’ah. | Reflects the Prophet ﷺ’s night prayer in Ramadan per Aisha (RA)’s narration. |
5Step-by-Step: How to Pray 3-Rak’ah Witr (Hanafi Method)
Use the interactive guide below to walk through each step. This follows the common joined 3-rak’ah method with Qunoot in the third rak’ah.
Opening & Recitation
Make the intention (niyyah) for Witr, say the opening Takbir (“Allahu Akbar”), recite Al-Fatihah, then a surah of your choice (commonly Surah Al-A’la). Go through ruku’ and sujood as normal.
Recitation, No Sitting
Stand for the second rak’ah, recite Al-Fatihah and another surah (commonly Surah Al-Kafirun), complete ruku’ and sujood. In the Hanafi method, do not sit for tashahhud here — stand directly for the third rak’ah.
Recitation Before Qunoot
Recite Al-Fatihah and a third surah (commonly Surah Al-Ikhlas). After completing the recitation, remain standing.
Takbir & Qunoot
Say “Allahu Akbar” (Takbir for Qunoot), raise the hands as in the opening takbir, then recite Dua al-Qunoot while still standing. See the full Qunoot dua with transliteration and translation →
Ruku’, Sujood & Tashahhud
After Qunoot, go into ruku’, then sujood as normal, then sit for the final tashahhud, Salawat upon the Prophet ﷺ, a closing dua, and conclude with Taslim (salam) to both sides.
Step 1 of 5
6Visual Summary: Witr at a Glance
7Qunoot in Witr
Dua al-Qunoot is recited standing in the final rak’ah of Witr, after the Qur’anic recitation and before bowing into ruku’. It is a supplication seeking Allah’s guidance, protection, and mercy, and is one of the distinguishing features of the Witr prayer.
Full Qunoot Dua, Transliteration & Translation
For the complete Arabic text, word-for-word transliteration, English translation, and the different narrations of Qunoot preserved from the companions, see our dedicated guide.
Some scholars (notably in the Hanbali and parts of the Shafi’i tradition) also permit reciting Qunoot in Witr only during the last half of Ramadan, while the Hanafi school holds it should be recited in every Witr prayer year-round. If the exact wording is not memorized yet, supplicating in one’s own words, or reciting “Allahumma ihdini fiman hadayt…” partially, is still valid while learning.
8Surahs Commonly Recited in Witr
While any surah may be recited, the Prophet ﷺ is authentically reported to have recited the following three surahs in the three rak’ahs of Witr:
Rak’ah 1: Surah Al-A’la (87)
“Glorify the Name of your Lord, the Most High” — a surah on Allah’s exalted nature and the ease of guidance.
Rak’ah 2: Surah Al-Kafirun (109)
“Say: O disbelievers…” — a clear declaration of monotheism and the rejection of shirk.
Rak’ah 3: Surah Al-Ikhlas (112)
“Say: He is Allah, the One” — the surah encapsulating pure Tawhid, sometimes followed by Al-Falaq and An-Nas.
The Prophet ﷺ used to recite in Witr: “Sabbihisma Rabbika al-A’la,” “Qul ya ayyuhal-kafirun,” and “Qul Huwa Allahu Ahad.”
9Witr in Ramadan & After Taraweeh
Witr is prayed every night of the year, but it takes on added significance in Ramadan, where it is typically prayed in congregation directly after Taraweeh. Many mosques combine Isha, Taraweeh, and Witr into one continuous congregational session, with the imam leading Witr aloud, including audible Qunoot.
If Witr is prayed in congregation after Taraweeh but a person wakes later in the night intending to pray more voluntary prayer (Tahajjud), the majority view is that Witr is not repeated — since the Prophet ﷺ said, “There is no two Witr in one night” (Sunan Abi Dawud 1439, graded Sahih). Any additional night prayer after that can simply be prayed as unpaired sets of two rak’ahs without a second Witr.
10Missed or Combined Witr
Overslept Past Fajr
If Witr is missed due to oversleeping or forgetfulness, the majority of scholars allow praying it as qada (make-up) after waking, even after sunrise, though not during the brief prohibited times.
Already Prayed, Want to Pray Tahajjud
If Witr was prayed early in the night and a person later wishes to pray Tahajjud, they may pray any even number of rak’ahs afterward without repeating Witr, since it should remain the final prayer.
Traveling
Witr is not shortened while traveling, but it may be combined in timing with Isha for convenience, following the same concessions given to voluntary night prayer while on a journey.
11Virtues of Witr Prayer
“Allah is Witr (One) and He loves the odd (Witr).”
“Witr is a duty (haqq) upon every Muslim. Whoever wishes to pray it with five rak’ahs, let him do so; whoever wishes to pray it with three, let him do so; and whoever wishes to pray it with one, let him do so.”
Author
Muhammad Iqbal
Researches and writes DuaForAll’s dua and worship guides, cross-referencing primary hadith sources for every ruling published.
12Frequently Asked Questions
No school of thought classifies Witr as fard. The Hanafi school considers it wajib (necessary, one level below fard), while the Shafi’i, Maliki, and Hanbali schools classify it as Sunnah Mu’akkadah — a highly emphasized, near-obligatory Sunnah that the Prophet ﷺ rarely if ever left.
Yes. A single rak’ah is a valid, complete form of Witr according to authentic hadith. However, praying three rak’ahs is the more commonly practiced and recommended method.
You may pray it as a make-up (qada) during the day, though it is prayed as two separate sets rather than combined with Qunoot in some scholarly opinions. It’s best to consult a local scholar for the specific make-up method preferred in your madhab.
The Hanafi school holds that Qunoot should be recited in every Witr prayer throughout the year. Other schools, including parts of the Hanbali and Shafi’i traditions, restrict regular Qunoot recitation to the last half of Ramadan, though supplicating at that point in the prayer remains encouraged more broadly.
Yes, Witr is prayed the same way by men and women, with the same rak’ah options, Qunoot, and timing. General differences in prayer posture recommended for women in some madhabs apply the same way they do to any other prayer.
Yes — the Prophet ﷺ stated there is no two Witr in one night. If Witr has already been prayed and a person wakes later for extra night prayer, they should pray an even number of rak’ahs without repeating Witr.