(10) باب كَيْفَ كَانَ صَلاَةُ النَّبِيِّ صلى الله عليه وسلم وَكَمْ كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي مِنَ اللَّيْلِ
Narrated `Abdullah bin `Umar:
A man said, "O Allah's Messenger (ﷺ)! How is the prayer of the night?" He said, "Two rak`at followed by two rak`at and so on, and when you apprehend the approaching dawn, offer one rak`a as witr."
Reference: Sahih al-Bukhari 1137
In-book reference: Book 19, Hadith 18
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 21, Hadith 238