It was narrated from 'Aishah that:
The Prophet (ﷺ) used to pray eleven rak'ahs at night, ending them with one rak'ah of witr, then he would lie down on his right side.