The Prophet (ﷺ) used to pray eleven rak'ahs at night, of which one was witr, then he would…

Sunan an-Nasa'i Book 20 Hadith 129

Sunan an-Nasa'i #1726

The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day 20:129

It was narrated from Aishah that:

The Prophet (ﷺ) used to pray eleven rak'ahs at night, of which one was witr, then he would lie down on his right side.

Chapter: How to pray witr with eleven rak'ahs

Grade: Sahih (Darussalam)