Witr Prayer: Complete Step-by-Step Guide, Rakats, Dua Qunoot, Rules & All Madhab Views

Witr Prayer holds a deeply revered and unique place in daily Islamic worship. Whether offered late at night after Tahajjud or immediately following the Isha prayer before going to bed, this night prayer serves as the final seal of a Muslim’s daily devotions.
The Prophet Muhammad (peace be upon him) never omitted the Witr prayer—neither while residing at home nor while traveling across harsh deserts. This steadfast commitment underscores its vast spiritual significance.
If you want to master how to pray Witr prayer correctly, understand its exact rakats across all Islamic schools of jurisprudence (Fiqh), learn Dua Qunoot with precise Arabic text and translation, know how to make up missed Witr prayers, or clear your doubts regarding common mistakes, this comprehensive guide covers every single detail you need.
What Is Witr Prayer and What Is Its Significance in Islam?
The Arabic word “Witr” (وتر) literally translates to “odd,” “uneven,” or “single.” In Islamic terminology, Witr prayer refers to the final odd-numbered prayer performed during the night after the obligatory Isha prayer and before the true dawn of Fajr.
In Islam, Allah loves odd numbers in various aspects of creation and worship. The Prophet Muhammad (peace be upon him) explained this divine preference in an authentic narration:
“Allah is Witr (One/Odd) and He loves that which is odd. So perform Witr prayer, O followers of the Qur’an.” (Sunan Abi Dawud 1416, Sahih)
The Spiritual Purpose of Witr Prayer
Every day, a Muslim’s main obligatory prayers begin with Fajr and conclude in the evening with Maghrib (which is also 3 rakats, an odd number). To balance and complete the spiritual cycle of the night, Allah prescribed Witr as an odd-numbered prayer to seal all night devotions—including Isha, Sunnah, and voluntary Tahajjud prayers.
The Legal Ruling of Witr Prayer: Is It Obligatory?
Muslim scholars across all major schools of thought agree that Witr prayer is an essential act of worship. However, they classify its precise legal obligation (Fiqh status) slightly differently based on their interpretation of Hadith literature.
1. Hanafi School of Thought:
Rule: WAJIB (Necessary)
Implication: Missing it intentionally is sinful, and Qadha (make-up) is mandatory.
2. Shafi’i, Maliki, and Hanbali Schools:
Rule: SUNNAH MU’AKKADAH (Emphasized Sunnah)
Implication: Highly recommended act of worship; neglecting it regularly displays a disregard for the established Sunnah.
Authentic Evidence from Hadith Supporting Witr Prayer
The importance of Witr prayer is backed by numerous authentic narrations across all major Hadith collections:
A Command for the Believers:
Abu Hurairah (may Allah be pleased with him) reported:
“My close friend (the Prophet) advised me to do three things which I will not leave until I die: fasting three days of every month, offering the Duha prayer, and offering Witr prayer before sleeping.” (Sahih al-Bukhari 1981, Sahih Muslim 721)
Making Witr the Last Prayer:
Abdullah ibn Umar (may Allah be pleased with him) narrated that the Prophet (peace be upon him) said:
“Make Witr the last of your prayers at night.” (Sahih al-Bukhari 998, Sahih Muslim 751)
Never Abandoned in Travel:
Ibn Umar also reported:
“The Prophet (peace be upon him) used to pray on his mount at night, whichever direction it faced, and he would pray Witr on it as well.” (Sahih al-Bukhari 999)
What Is the Correct Time Window for Witr Prayer?
Understanding the precise timing for Witr prayer ensures your worship is valid and performed at the most rewardable hour.
Timeline: Isha Prayer Completed → First Third / Middle of Night → Last Third / Before Fajr
The Beginning and End Times
Start Time: Immediately after completing the obligatory (Fard) and Sunnah rakats of the Isha prayer. (You cannot pray Witr before Isha).
End Time: The exact moment the Fajr Azan begins (true dawn/Subh Sadiq). Once Fajr time starts, the official window for Witr closes.
When Is the Best Time to Offer Witr Prayer?
The Last Third of the Night (Most Rewardable):
If you have the discipline to wake up before dawn for Tahajjud (night vigil), delaying Witr to serve as your final prayer before Fajr is highly recommended. The Prophet (peace be upon him) stated:
“Whoever fears that he will not get up at the end of the night, let him pray Witr at the beginning of the night. And whoever hopes to get up at the end of the night, let him pray Witr at the end of the night, for prayer at the end of the night is attended (by angels), and that is better.” (Sahih Muslim 755)
Before Going to Sleep (Safest Option):
If you are tired, have a heavy work schedule, or fear you will sleep through until Fajr, it is best to perform Witr immediately after Isha Sunnah prayers before sleeping.
How Many Rakats Are in Witr Prayer? (Madhab Comparison)
One of the most common questions believers ask is: “How many rakats should I pray for Witr?” Islam provides flexibility in this regard, and different recognized madhabs follow authentic variations based on Sunnah.
1. Hanafi Madhab
Minimum Rakats: 3 Rakats
Maximum Rakats: 3 Rakats
Method: 3 continuous rakats with 1 Salam at the end (similar to Maghrib, but with an additional Surah and Dua Qunoot in the 3rd rakat).
Timing of Dua Qunoot: Recited in the 3rd rakat before going into Ruku (all year round).
Raising Hands for Qunoot: Raise hands to ears for Takbir before Qunoot, then fold hands.
2. Shafi’i Madhab
Minimum Rakats: 1 Rakat
Maximum Rakats: 11 Rakats
Method: Pray in sets of 2 rakats ending with Salam, then 1 separate rakat with Salam.
Timing of Dua Qunoot: Recited in the final rakat after rising from Ruku (mainly practiced during the second half of Ramadan).
Raising Hands for Qunoot: Raise hands in supplication position (palms facing up) after Ruku.
3. Maliki Madhab
Minimum Rakats: 1 Rakat
Maximum Rakats: 11 or 13 Rakats
Method: Pray 2 rakats ending with Salam, followed by 1 separate rakat with Salam.
Timing of Dua Qunoot: Optional; usually recited silently before Ruku or during Fajr prayer.
Raising Hands for Qunoot: Optional depending on the scholar’s view.
4. Hanbali Madhab
Minimum Rakats: 1 Rakat
Maximum Rakats: 11 Rakats
Method: Can pray 2 rakats plus 1 rakat with two Salams, or 3 continuous rakats with 1 Tashahhud and Salam at the end.
Timing of Dua Qunoot: Recited in the final rakat after rising from Ruku (all year round).
Raising Hands for Qunoot: Raise hands in supplication position after Ruku.
Step-by-Step Guide: How to Pray Witr Prayer with 3 Rakats (Hanafi Method)
Because the 3-rakat method is widely practiced across South Asia, Turkey, Central Asia, and many global Muslim communities, here is the exact step-by-step procedure according to the Hanafi school.
Intention (Niyyah)
Form the intention silently in your heart: “I intend to offer three rakats of Witr Wajib prayer for the sake of Allah, facing the Qiblah.” (Note: Verbalizing the intention is optional.)
Step 1: The First Rakat
Stand upright facing the Qiblah. Raise your hands to your earlobes while saying the Takbir-e-Tahrimah: “Allahu Akbar” (Allah is the Greatest). Fold your hands below the navel (right hand over left wrist).
Recite Sana (Opening Supplication): Subhanakal-lahumma wa bihamdika wa tabarakasmuka wa ta’ala jadduka wa la ilaha ghairuk.
Recite Ta’awwudh (A’udhu billahi minash-shaitanir-rajeem) and Basmalah (Bismillahir-Rahmanir-Rahim). Recite Surah Al-Fatihah completely, then any additional Surah from the Qur’an (e.g., Surah Al-A’la or Surah Al-Kafirun).
Say “Allahu Akbar” and bow down into Ruku. Recite “Subhana Rabbiyal ‘Azeem” three times. Rise from Ruku saying “Sami’allahu liman hamidah – Rabbana lakal hamd”. Perform two standard Sujood (prostrations), reciting “Subhana Rabbiyal A’la” three times in each prostration. Stand up for the second rakat.
Step 2: The Second Rakat
Recite Basmalah, followed by Surah Al-Fatihah, then an additional Surah from the Qur’an (e.g., Surah Al-Ikhlas). Perform Ruku and two Sujood as normal. After the second Sujood, sit down for the First Sitting (Qa’dah Ula).
Recite Tashahhud (At-Tahiyyatu) only: At-tahiyyatu lillahi was-salawatu wat-tayyibatu. As-salamu ‘alaika ayyuhan-nabiyyu wa rahmatullahi wa barakatuh. As-salamu ‘alaina wa ‘ala ‘ibadillahis-salihin. Ash-hadu alla ilaha illallahu wa ash-hadu anna Muhammadan ‘abduhu wa rasuluh.
CRITICAL: Do NOT say Salam, and do NOT recite Durood Ibrahim yet. Say “Allahu Akbar” and stand up immediately for the third rakat.
Step 3: The Third Rakat (Reciting Dua Qunoot)
Recite Basmalah, Surah Al-Fatihah, and an additional Surah (e.g., Surah Al-Falaq or Surah An-Nas). Before bowing down into Ruku, raise your hands up to your earlobes while saying “Allahu Akbar” — this is the additional Takbir. Fold your hands back below your navel as usual.
Recite Dua Qunoot silently in a soft voice. Upon completing Dua Qunoot, say “Allahu Akbar” and bow down into Ruku. Rise from Ruku, then complete two standard Sujood. Sit for the Final Sitting (Qa’dah Akhirah).
Recite Tashahhud, Durood Ibrahim (Allahumma Salli ‘Ala…), and Dua Masura (Rabbana Aatina… or Allahumma Inni Zalamtu Nafsi…). End the prayer by turning your head right and then left, saying: “Assalamu ‘Alaikum wa Rahmatullah”.
Step-by-Step Guide: How to Pray Witr Prayer (Shafi’i & Hanbali Method)
If you follow the Shafi’i, Hanbali, or Maliki schools, the procedure differs slightly to keep Witr distinct from the 3-rakat Maghrib prayer.
Method: Two Rakats + One Rakat (2+1 Format)
First 2 Rakats: Offer 2 rakats of Sunnah prayer as normal. Recite Surah Al-Fatihah plus an additional Surah in both rakats. Sit for final Tashahhud, recite Durood, and complete the prayer with Salam.
Final 1 Rakat: Stand up again with a fresh Niyyah for 1 rakat of Witr. Recite Surah Al-Fatihah and Surah Al-Ikhlas (or Falaq/Nas). Perform Ruku, then rise back up standing (I’tidal). Raise your hands to chest level with palms facing upward and recite Dua Qunoot aloud or silently. Go directly into Sujood, sit for Tashahhud, and complete with Salam.
Dua Qunoot for Witr Prayer: Arabic Text, Transliteration & Translation
Reciting Dua Qunoot is the defining climax of the Witr prayer. Below are the authentic versions recited by believers worldwide.
Version 1: The Traditional Hanafi Dua Qunoot
(Narrated by Ibn Mas’ud & Companions)
اَللَّهُمَّ إنَّا نَسْتَعِينُكَ وَنَسْتَغْفِرُكَ وَنُؤْمِنُ بِكَ وَنَتَوَكَّلُ عَلَيْكَ وَنُثْنِي عَلَيْكَ الْخَيْرَ وَنَشْكُرُكَ وَلاَ نَكْفُرُكَ وَنَخْلَعُ وَنَتْرُكُ مَنْ يَفْجُرُكَ، اَللَّهُمَّ إيَّاكَ نَعْبُدُ وَلَكَ نُصَلِّي وَنَسْجُدُ وَإِلَيْكَ نَسْعَى وَنَحْفِدُ وَنَرْجُو رَحْمَتَكَ وَنَخْشَى عَذَابَكَ إنَّ عَذَابَكَ بِالْكُفَّارِ مُلْحَقٌ
Transliteration: “Allahumma inna nast’eenuka wa nastaghfiruka wa nu’minu bika wa natawakkalu ‘alaika wa nuthnee ‘alaikal-khaira wa nashkuruka wala nakfuruka wa nakhla’u wa natruku mai-yafjuruk. Allahumma iyyaka na’budu wa laka nusallee wa nasjudu wa ilaika nas’a wa nahfidu wa narju rahmataka wa nakhsha ‘adhabaka inna ‘adhabaka bil-kuffari mulhaq.”
English Translation: “O Allah! We seek Your help and ask for Your forgiveness, and we believe in You and rely upon You, and we praise You in the best manner. We thank You and are not ungrateful to You, and we cast off and forsake whoever disobeys You. O Allah! You alone we worship, to You we pray and prostrate, to You we hasten and serve. We hope for Your mercy and fear Your punishment. Verily, Your punishment will overtake the disbelievers.”
Version 2: The Prophet’s Dua to Hasan ibn Ali (Shafi’i / Hanbali)
Hasan ibn Ali (may Allah be pleased with him) reported: “The Messenger of Allah (peace be upon him) taught me words to say in Witr prayer:”
اَللَّهُمَّ اهْدِنِي فِيمَنْ هَدَيْتَ، وَعَافِنِي فِيمَنْ عَافَيْتَ، وَتَوَلَّنِي فِيمَنْ تَوَلَّيْتَ، وَبَارِكْ لِي فِيمَا أَعْطَيْتَ، وَقِنِي شَرَّ مَا قَضَيْتَ، فَإِنَّكَ تَقْضِي وَلاَ يُقْضَى عَلَيْكَ، وَإِنَّهُ لاَ يَذِلُّ مَنْ وَالَيْتَ، وَلاَ يَعِزُّ مَنْ عَادَيْتَ، تَبَارَكْتَ رَبَّنَا وَتَعَالَيْتَ
Transliteration: “Allahummahdinee feeman hadait, wa ‘afinee feeman ‘afait, wa tawallanee feeman tawallait, wa barik lee feema a’tait, wa qinee sharra ma qadait, fa-innaka taqdee wala yuqda ‘alaik, wa innahu la yadhillu man walait, wala ya’izzu man ‘adait, tabarakta Rabbana wa ta’alait.”
English Translation: “O Allah, guide me among those whom You have guided, pardon me among those whom You have pardoned, turn to me in friendship among those on whom You have turned in friendship, bless me in what You have bestowed, and save me from the evil of what You have decreed. For verily You decree and none can decree over You. Verily he is not humbled whom You have befriended, nor is he honored whom You have taken as an enemy. Blessed are You, our Lord, and Exalted.” (Sunan Abu Dawud 1425, Sunan at-Tirmidhi 464)
What to Recite in Witr Prayer If You Haven’t Memorized Dua Qunoot
New Muslims, children, or adults who have not yet memorized Dua Qunoot should never skip Witr prayer. Islamic jurisprudence provides accessible temporary alternatives while you work on memorizing the full prayer.
Alternative 1 (Best Qur’anic Alternative):
Recite the well-known Qur’anic supplication: “Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina ‘adhaban-nar.” (Our Lord! Give us in this world that which is good and in the Hereafter that which is good, and save us from the torment of the Fire – Surah Al-Baqarah 2:201)
Alternative 2 (Short Asking for Forgiveness):
Recite three times: “Allahummaghfir-lee” (O Allah, forgive me).
Alternative 3 (Basic Dhikr):
Recite three times: “Ya Rabbi” (O my Lord).
What Surahs Are Recommended to Recite in Witr Prayer?
While you may recite any portion of the Holy Qur’an during Witr prayer, the Prophet Muhammad (peace be upon him) frequently recited specific Surahs across the three rakats.
According to narrations in Sunan an-Nasa’i (1699) and Sunan Ibn Majah (1171):
In the First Rakat: Surah Al-A’la (Chapter 87 – Sabbihisma Rabbikal A’la).
In the Second Rakat: Surah Al-Kafirun (Chapter 109 – Qul Ya Ayyuhal Kafirun).
In the Third Rakat: Surah Al-Ikhlas (Chapter 112 – Qul Huwallahu Ahad).
Note: Some scholars also recommend adding Surah Al-Falaq (113) and Surah An-Nas (114) along with Surah Al-Ikhlas in the third rakat.
Rules for Making Up a Missed Witr Prayer (Qadha Rules)
Life happens—whether due to severe exhaustion, illness, or oversleeping, you may occasionally miss Witr prayer before Fajr arrives. Here is how to make it up according to Islamic law:
1. Hanafi Jurisprudence (Qadha Mandatory)
Since Witr is classified as Wajib in the Hanafi school, making it up is compulsory whenever you remember or wake up. How to pray it: Offer the exact 3-rakat structure including the additional Takbir and Dua Qunoot in the 3rd rakat. Prohibited Times: Do not perform Qadha during the three forbidden times of prayer: exact sunrise, precise mid-day zenith (Zawal), and during sunset.
2. Majority View (Shafi’i, Hanbali, Maliki)
According to the majority of jurists, if you miss Witr due to sleep or forgetfulness, you make it up during the morning hours (Duha time) after sunrise. The Even-Number Rule: based on the practice of the Prophet (peace be upon him), if he missed his night prayers due to illness or sleep, he would pray 12 rakats during the day instead of 11. How to pray it: Pray an even number of rakats (e.g., 2, 4, or 6 rakats) as Qadha rather than praying an odd number during daylight hours.
Witr Prayer in Special Circumstances
1. Witr Prayer During Ramadan (Tarawih Connection)
During the holy month of Ramadan, Witr prayer is offered in congregation (Jama’at) immediately following the Tarawih prayers. Reciting Qunoot in Congregation: the Imam recites Dua Qunoot aloud in the final rakat, while the followers behind him listen quietly and say “Ameen” after each supplication line.
2. Praying Witr on a Journey (Musafir Rules)
When traveling, Islam grants ease by shortening 4-rakat obligatory prayers to 2 rakats (Qasr). However, Witr is not shortened: Witr prayer remains 3 rakats (or your usual odd count) even while traveling. Riding in Vehicles: if necessary due to flight or train schedules, you may perform Witr seated while traveling if standing is impossible.
3. Witr After Tahajjud Prayer
If you regularly wake up in the last third of the night for Tahajjud, the ideal routine is to pray your voluntary Tahajjud rakats in sets of two (2, 4, 6, or 8 rakats), and then conclude your night worship with Witr as the absolute final prayer.
Common Mistakes to Avoid During Witr Prayer
Repeating Witr twice in a single night.
If you pray Witr early after Isha and later wake up for Tahajjud, do not repeat Witr. Perform your Tahajjud prayers in pairs of two, because the Prophet (peace be upon him) explicitly instructed:
“There are no two Witrs in one night.” (Sunan Abi Dawud 1439, Authenticated by Al-Albani)
Treating 3-Rakat Witr Identically to Maghrib Prayer.
In Maghrib prayer, you only recite an additional Surah in the first two rakats. However, in the 3-rakat Hanafi Witr prayer, you must recite Surah Al-Fatihah plus an additional Surah in all three rakats.
Handling a Forgotten Dua Qunoot Correctly.
If you forget to recite Dua Qunoot in the 3rd rakat and go directly into Ruku, do NOT return to standing after going into Ruku — continue your prayer normally. At the end of the final sitting, perform Sajdah as-Sahw (Prostration of Forgetfulness) by giving Salam to the right, performing two extra prostrations, repeating Tashahhud/Durood, and giving final Salam. This rectifies the omitted Qunoot.
Rushing through Ruku and Sujood without tranquil composure.
Frequently Asked Questions (FAQ)
Can I pray 1 single rakat for Witr?
Yes. According to the Shafi’i, Hanbali, and Maliki schools, praying a single rakat for Witr is valid based on the Hadith: “Witr is a single rakat at the end of the night” (Sahih Muslim 752). However, in the Hanafi school, Witr must always be 3 rakats.
Is Witr prayer obligatory (Fard)?
Witr is not one of the five Fard (obligatory) daily prayers. However, it is classified as Wajib (necessary) in the Hanafi school and an emphasized Sunnah in other schools. Abandoning it regularly without an excuse is sinful or heavily discouraged.
Do I have to raise my hands before reciting Dua Qunoot?
In the Hanafi method, yes. In the 3rd rakat, after finishing the additional Surah, you raise your hands to your ears, say “Allahu Akbar,” fold your hands again, and recite Qunoot. In the Shafi’i and Hanbali methods, you raise your hands in supplication (Dua position) after rising from Ruku.
Can I recite Dua Qunoot from a paper or phone screen?
If you are still in the process of learning and haven’t memorized it, reading from a paper or screen placed in front of you is permissible according to many scholars, though memorizing it or using a shorter alternative (like Rabbana atina…) is preferable.
What should I do if the Fajr Azan starts while I am praying Witr?
If the Fajr Azan begins while you are in the middle of your Witr prayer, complete the prayer swiftly. If you haven’t started Witr yet when the Azan begins, wait until after sunrise to offer it as Qadha.
Summary & Key Takeaways
To summarize the essential guidance on Witr prayer:
Core Essence: Witr is an odd-numbered night prayer performed after Isha and before Fajr.
Significance: Emphasized heavily by Prophet Muhammad (peace be upon him) as the concluding seal of night devotions.
Rakats: Commonly offered as 3 rakats (Hanafi) or 2+1 rakats (Shafi’i/Hanbali).
Key Feature: Recitation of Dua Qunoot in the final rakat.
Flexibility: If you haven’t memorized Dua Qunoot, recite “Rabbana atina fid-dunya hasanah…” as a temporary substitute.
By making Witr prayer a consistent, unbroken part of your daily evening routine, you align your worship with the Sunnah, draw closer to Allah, and earn vast spiritual blessings before retiring for the night.
Did you find this comprehensive guide on Witr prayer clear and beneficial? Share it with family, friends, and fellow seekers of knowledge so they too can perfect their daily night worship!
Author Bio
Written by the ExploreIslamicWorld editorial team, dedicated to helping Muslims worldwide understand and practice Islamic worship correctly through authentic, well-referenced guides on daily prayer, history, and travel.
Comments are closed.




[…] Muslims can pray anywhere from two to eight or more rak’ahs in sets of two, ending with the Witr prayer. Meanwhile, the intention (niyyah) resides in the heart, with no need for verbal recitation, and […]
[…] step of the five daily prayers and gives the authentic wording for each dua. It also explains the Witr prayer with references from Sahih […]
[…] congregations often pray Witr right after Taraweeh. Both the imam and the people praying behind him recite Dua Qunut in Witr. Rather than listening silently to the imam alone, each person recites their own version of the […]