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 : Book 19, Hadith 18 USC-MSA web (English) : Vol. 2, Book 21, Hadith 238 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.