Free tool

How to pray witr, with Dua al-Qunoot

Witr is the odd-numbered prayer that closes the night. Follow the Hanafi three rakahs step by step, with the qunut before ruku, or switch to the method of the other madhhabs.

Ruling
Wajib in the Hanafi school; a confirmed sunnah in the others
Time
After Isha until Fajr
Rakahs
3 with one salam (Hanafi)
Qunut
Before ruku in the third rakah, all year (Hanafi)

The method shown first is the Hanafi one. Where the other madhhabs differ, the guide below explains how. Use the arrow keys to move between steps.

Guide

Witr, what it is and how it differs

In the Hanafi school, witr is three rakahs prayed after Isha with one salam. You sit for the tashahhud after the second rakah, and in the third rakah you say Allahu akbar with raised hands before ruku and recite Dua al-Qunut. It is wajib, a step below fard, so it should never be left. The Prophet ﷺ said: "Witr is a duty, so whoever does not pray witr is not of us."1

Is witr mandatory?

Hanafi position

Witr is wajib. Leaving it on purpose is a sin, and a missed witr must be made up (qada) as three rakahs. It is three rakahs with one salam, with a sitting after the second, and the qunut is recited before ruku in the third rakah every night of the year.2

Other madhhabs
Shafi'i
A confirmed sunnah, from one to eleven rakahs. Most often two rakahs with a salam, then one. The qunut is recited after ruku in the last rakah, in the second half of Ramadan.
Maliki
A confirmed sunnah: one rakah after an even prayer (the shaf). There is no qunut in witr; the Maliki qunut is in Fajr.
Hanbali
A confirmed sunnah, one to eleven rakahs, usually two then one. The qunut is recited after ruku in the last rakah, all year.

Dua al-Qunoot in witr

The Hanafi school recites the qunut narrated from Umar ibn al-Khattab:

اَللّٰهُمَّ إِنَّا نَسْتَعِيْنُكَ وَنَسْتَغْفِرُكَ وَنُؤْمِنُ بِكَ وَنَتَوَكَّلُ عَلَيْكَ وَنُثْنِيْ عَلَيْكَ الْخَيْرَ وَنَشْكُرُكَ وَلَا نَكْفُرُكَ وَنَخْلَعُ وَنَتْرُكُ مَنْ يَّفْجُرُكَ، اَللّٰهُمَّ إِيَّاكَ نَعْبُدُ وَلَكَ نُصَلِّيْ وَنَسْجُدُ وَإِلَيْكَ نَسْعٰى وَنَحْفِدُ وَنَرْجُوْ رَحْمَتَكَ وَنَخْشٰى عَذَابَكَ إِنَّ عَذَابَكَ بِالْكُفَّارِ مُلْحِقٌ

Allāhumma innā nastaʿīnuka wa nastaghfiruka wa nuʾminu bika wa natawakkalu ʿalayka wa nuthnī ʿalaykal-khayr, wa nashkuruka wa lā nakfuruk, wa nakhlaʿu wa natruku man yafjuruk. Allāhumma iyyāka naʿbudu wa laka nuṣallī wa nasjudu wa ilayka nasʿā wa naḥfidu wa narjū raḥmataka wa nakhshā ʿadhābak, inna ʿadhābaka bil-kuffāri mulḥiq

O Allah, we seek Your help and forgiveness, we believe in You and rely on You, we praise You with all good, we thank You and are not ungrateful, and we leave whoever disobeys You. O Allah, You alone we worship, to You we pray and prostrate, to You we hasten. We hope for Your mercy and fear Your punishment. Your punishment will reach the disbelievers.

Narrated from Umar ibn al-Khattab (al-Bayhaqi, al-Sunan al-Kubra; Musannaf Ibn Abi Shaybah). The wording used in the Hanafi school.

The Shafi'i and Hanbali schools recite the dua the Prophet ﷺ taught his grandson al-Hasan. Hanafis may add it too:

اللَّهُمَّ اهْدِنِي فِيمَنْ هَدَيْتَ، وَعَافِنِي فِيمَنْ عَافَيْتَ، وَتَوَلَّنِي فِيمَنْ تَوَلَّيْتَ، وَبَارِكْ لِي فِيمَا أَعْطَيْتَ، وَقِنِي شَرَّ مَا قَضَيْتَ، إِنَّكَ تَقْضِي وَلاَ يُقْضَى عَلَيْكَ، وَإِنَّهُ لاَ يَذِلُّ مَنْ وَالَيْتَ، وَلاَ يَعِزُّ مَنْ عَادَيْتَ، تَبَارَكْتَ رَبَّنَا وَتَعَالَيْتَ

Allāhummahdinī fīman hadayt, wa ʿāfinī fīman ʿāfayt, wa tawallanī fīman tawallayt, wa bārik lī fīmā aʿṭayt, wa qinī sharra mā qaḍayt, innaka taqḍī wa lā yuqḍā ʿalayk, wa innahū lā yadhillu man wālayt, wa lā yaʿizzu man ʿādayt, tabārakta rabbanā wa taʿālayt

O Allah, guide me among those You have guided, keep me well among those You have kept well, take care of me among those You take care of, bless me in what You have given, and protect me from the evil of what You have decreed. You decree and nothing is decreed against You. Whoever You befriend is never humbled, and whoever You oppose is never honoured. Blessed are You, our Lord, and Exalted.

Sunan Abi Dawud 1425, from al-Hasan ibn Ali, who said the Prophet ﷺ taught him these words for the witr. Graded sahih by al-Albani.

When is the time for witr?

From after the Isha prayer until Fajr begins. If you wake at night for tahajjud, it is better to delay witr until after it. If you might not wake, pray it after Isha. See today's prayer times.

If you forget the qunut

If you remember in ruku, do not stand back up. Carry on, and make the sajdah sahw at the end, because the qunut is wajib in witr in the Hanafi school.

Witr in Ramadan

In Ramadan, witr is prayed in congregation after taraweeh, and the imam recites aloud. Outside Ramadan, Hanafis pray witr alone.

  1. Sunan Abi Dawud 1419, from Buraydah. Its grading is disputed: al-Hakim graded it sahih, and al-Albani graded it weak. The Hanafi ruling also rests on the command to pray witr and on the Prophet's ﷺ constant practice.
  2. Al-Marghinani, al-Hidayah, Bab Salat al-Witr; Ibn Abidin, Radd al-Muhtar. The other madhhabs' positions are summarised from their standard manuals.

The rulings on this page are pending review by the scholars on our team.

Questions

Good to know

How many rakats is witr?

Three in the Hanafi school, with one salam. In the Shafi'i, Maliki and Hanbali schools witr can be one rakah, or three, five, seven, nine or eleven, and is usually two rakahs then one.

Is witr wajib or sunnah?

Wajib in the Hanafi school, so it must be made up if missed. The Shafi'i, Maliki and Hanbali schools hold that it is a confirmed sunnah.

When do you say Dua al-Qunoot in witr?

In the Hanafi school, in the third rakah after the recitation and before ruku, after saying Allahu akbar with raised hands. The Shafi'i and Hanbali schools say it after rising from ruku.

What if I don't know Dua al-Qunoot?

Say Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina adhaban-nar, or Allahummaghfir li three times, until you learn it.

Can I pray witr after tahajjud?

Yes, and it is better if you trust yourself to wake. Witr should be the last prayer of the night, and it is prayed only once.

What happens if I miss witr?

In the Hanafi school, make it up as three rakahs with the qunut, as soon as you can, outside the forbidden times.