Narrated ‘Abdullah bin ‘Umar (r.a): The Prophet (sallallahu alaihi wassallam) 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.” i
-Sahih Al Bukhari