When should witr be prayed: after tahajjud at night, or before going to sleep?
Prayer & PurificationQ&A answerQ&AEPIC Q&A Night18 Apr 2020x8hYCnDKFzEThe video starts at 39:00, where this question begins.
Also on YouTube: Sisters Ramadan Q&A | Shaykh Dr. Yasir Qadhi ↗
The question as asked I heard in your lecture that the Prophet ﷺ would pray three rak'ahs of witr after tahajjud. However, there's a hadith of Abu Hurairah in which he says that the Prophet ﷺ told him to pray witr before going to sleep. So I am confused. Can you explain what time the witr prayer is?
The answer
Okay. The witr prayer ideally should be the last prayer of the night before you pray Fajr. So before you pray the two rak'ahs of Fajr, before the adhan of Fajr, ideally witr should be the last prayer of the night. So if you know you're going to wake up, and you know that you're going to pray tahajjud or qiyam al-layl or taraweeh at, let's say, 3am: after you pray 'Isha, you pray the two rak'ahs Sunnah of 'Isha. You can pray extra nafl if you want at that time. Then go to sleep. Wake up at 3 or 4am, pray your qiyam and your tahajjud, pray your taraweeh prayer, your 8 rak'ahs or 20 rak'ahs, as much as you want, and then when you finish, you pray your witr salah.
However, if you know that you're not going to wake up in the middle of the night, you're not going to wake up in the last part of the night, you're going to sleep the entire night until Fajr, which is the default for most of the Muslim world, in this case you should pray witr before you go to sleep, because it will be the last prayer that you have done. And this is what Abu Hurairah said. At that time, when he said this, he wasn't praying tahajjud. Insha'Allah, later on in his life we learned that he did, but at that time he wasn't praying tahajjud. And so he said, "I would pray witr before going to sleep." So when you're going to go to sleep at, let's say, 11pm, before you go to sleep... The ideal time to pray witr is as late as possible. You may pray witr right after Salat al-'Isha.
Witr prayer is very, very, very strongly encouraged. And for the Hanafis it is wajib, and wajib means if you don't do it, you are sinful. For the other three madhhabs, it is one degree under wajib, i.e. it is the strongest Sunnah, but it is not quite the level of wajib. In the famous statement of Muhammad ibn Hanbal, he said that the one who leaves witr is an evil man: "I don't think anybody other than an evil man can leave witr." Still, he did not consider it to be fard, because in the Hanbali madhhab, fard and wajib are the same. But the point is, all of the madhhabs were very, very, very strongly encouraging of witr. And the Hanafi madhhab said it is not just strongly encouraged, it is wajib. So it says that you are sinful if you do not do it.
So when do you do witr? You do witr any time from after 'Isha, after the Sunnah and nafl of 'Isha, up until the adhan of Fajr. And the ideal time is after your qiyam in the last third of the night. But if you're not going to wake up, then you pray witr before you go to sleep, and that is, as I said, a permissible time for witr. So I hope that answers the question: witr can be prayed any time without any karahah. There's no makruh time to pray witr from 'Isha up until the adhan of Fajr; you may pray it at any time. The only thing is, you should try to pray witr at the very end of your tahajjud or qiyam, whenever that might be. And Allah 'azza wa jall knows best.
An edited transcript of the video, lightly cleaned up for reading. The video is the source; if the text and the video differ, the video is correct.
Related questions
Is witr a separate prayer from qiyam al-layl, tahajjud and taraweeh?
Why do people pray witr in different ways, and which way should I follow?
Which Sunnah prayers did the Prophet ﷺ pray regularly, and how many rak'ahs are they?
What is the difference between qiyam al-layl, tahajjud and taraweeh?
If I pray witr with the imam in taraweeh, can I still pray more later that night?
Do you have to make up (qada) the witr prayer if you miss it?
Is it a condition to sleep first before praying tahajjud?
How should witr be prayed, and does praying it with two sittings like Maghrib contradict the Sunnah?