He heard the Messenger of Allah (ﷺ) say: "Prayer at night is two rak'ahs by two rak'ahs, then when you fear that dawn will break, pray witr with one rak'ah."
Reference: Sunan an-Nasa'i 1695 In-book : Book 20, Hadith 98 English translation : Vol. 2, Book 20, Hadith 1696
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.