I spent a night with my maternal aunt Maimunah. The Messenger of Allah (ﷺ) came after the evening has come. He asked: Did the boy pray ? She said: Yes. Then he lay down till a part of night had passed as much as Allah willed; he got up, performed ablution and prayed seven or five rak'ahs, observing witr with them. He uttered the salutation only in the last of them.
Reference: Sunan Abi Dawud 1356 In-book : Book 5, Hadith 107 English translation : Book 5, Hadith 1351
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.