The Prophet (ﷺ) said, "Night prayer is offered as two rak`at followed by two rak`at and so…

Sahih al-Bukhari Book 14 Hadith 4

Sahih al-Bukhari #993

Witr Prayer 14:4

Narrated `Abdullah bin `Umar:

The Prophet (ﷺ) said, "Night prayer is offered as two rak`at followed by two rak`at and so on, and if you want to finish it, pray only one rak`a which will be witr for all the previous rak`at." Al-Qasim said, "Since we attained the age of puberty we have seen some people offering a three-rak`at prayer as witr and all that is permissible. I hope there will be no harm in it."

Chapter: What is said regarding the Witr prayer

Grade: Sahih