The Prophet ﷺ used to pray eleven units at night, making one of them the witr, then he would lie down on his right side.
أخبرنا إسحق بن منصور قال حدثنا عبد الرحمن قال حدثنا مالك عن الزهري عن عروة
أن النبي ﷺ كان يصلي من الليل إحدى عشرة ركعة ويوتر منها بواحدة ثم يضطجع على شقه الأيمن