Allah's Messenger (ﷺ) used to pray eleven rak`at at night and that was his night prayer…

Sahih al-Bukhari Book 14 Hadith 5

Sahih al-Bukhari #994

Witr Prayer 14:5

Narrated `A'isha:

Allah's Messenger (ﷺ) used to pray eleven rak`at at night and that was his night prayer and each of his prostrations lasted for a period enough for one of you to recite fifty verses before Allah's Messenger (ﷺ) raised his head. He also used to pray two rak`at (Sunnah) before the (compulsory) Fajr prayer and then lie down on his right side till the Mu'adh-dhin came to him for the prayer.

Chapter: What is said regarding the Witr prayer

Grade: Sahih