Salatu Al-Witr is a prayer that can be performed at the time after Isha’a (night-time prayer) till fajr (dawn prayer) to seek closeness to almighty Allah, it is a confirmed Sunnah from the Prophet, peace be upon him, but the one who does not perform Witr prayer is not considered a sinner, but it is disliked not to perform it.
The Prophet, peace be upon him, said:
“Allah the exalted has given you an extra prayer which is better for you than the red camels (i.e. high breed camels). This is the Witr which Allah has appointed for you between the night prayer and the daybreak.”
(Narrated by Imam Ahmed, Abdu Dawoud and Tirmidhi).
The prophet, peace be upon him, forbade repeating the witr prayer in one night when he (pbuh) said:
“there are no two witrs during one night” (sunan abi dawoud).
The number of Ra’kahs in Witr prayer
This prayer is called Witr because it has an odd number of Rakat prayed in pairs, with the final Raka'ah prayed separately. Therefore, as little as one Rakat can be prayed, and it has no limits, it can be increased. You can pray pairs of Rak’ahs, then you finish with one separate ra’kah, according to the Hadith by the prophet, peace be upon him:
"Salat during the night should consist of pairs but if you fear that morning is near, then pray one Rak'ah as Witr."
If the person praying performs five or seven Raka’hs as witr, they should be continuous. He should utter the Tashahud at the last Raka’ah then to say taslim. Umm salamah said:
"Allah’s Messenger (pbuh) used to pray Witr with five and seven Rak'ahs which he did not separate with any taslim nor talk."
It is recommended for the Muslim to end his day with the Witr prayer and not pray after it even if he feels worried that he may not get up before fajr because Allah’s messenger (peace be upon him) said,
"He who apprehends that he may not get up in the later part of the night, should observe the Witr prayer in the first part of it; and he who is certain to get up in the last part of it, he should observe witr at the end of the night, because salat at the end of the night is attended (by the angels), and that is better."
(Muslim, the book of prayers, travelers)
Recitation of Qur’an in Witr
It was narrated from the prophet, peace be upon him, that he used to recite in the first Raka’ah of witr surat Al-alaa "glorify the name of your lord, the most high;" in the second; he used to recite surat al-kafuroun "say: o you disbelievers!" and in the third surat al-ikhlas:
"Say: he is Allah, (the) one." it was narrated that Ubayy bin ka'b said: "in the first Rak'ah of Witr, Allah's messenger (peace be upon him) used to recite: "glorify the name of your lord, the most high;" in the second; "Say: o you disbelievers!" and in the third; "Say: he is Allah, (the) one."
The virtue of Witr prayer
The witr prayer has a great virtue, the prophet, peace be upon him, did not quit praying witr even while he was traveling,
It is narrated that the prophet, peace be upon him, said:
“only a believer who maintains the performance of Witr prayer.” Jabir reported Allah's messenger (peace be upon him) as saying: “if anyone is afraid that he may not get up in the latter part of the night, he should observe witr in the first part of it; and if anyone is eager to get up in the last part of it, he should observe Witr at the end of the night, for prayer at the end of the night is witnessed (by the angels) and that is preferable.”
Source Link: Ruling on Witr Prayer