What witr is and its ruling
The word witr means an odd number. The witr prayer is the last prayer of the night and has an odd number of rak'ahs, such as one, three or five. The Prophet ﷺ said: "Make the last of your night prayer witr" (Sahih al-Bukhari 998; Sahih Muslim 751).
Scholars differ on its ruling. The majority hold that witr is a confirmed sunnah (sunnah mu'akkadah) and not obligatory. Ubadah ibn as-Samit rejected the claim that witr is obligatory because Allah has prescribed five prayers for the servants (Sunan Abi Dawud 1420), and Ali said it is not a duty like the prescribed prayers but a sunnah that the Prophet ﷺ established (Jami at-Tirmidhi 454). The Hanafi school holds that witr is wajib, a level just below the obligatory prayers. In every school it is a prayer not to be neglected.



