The Messenger of Allah ﷺ used to pray his night prayer while she lay across between him and the qiblah, sleeping on the bed where he slept. When he wished to perform the witr prayer, he would wake her, and she would pray witr as well.
حدثنا أحمد بن يونس حدثنا زهير حدثنا هشام بن عروة عن عروة
أن رسول الله ﷺ كان يصلي صلاته من الليل وهي معترضة بينه وبين القبلة راقدة على الفراش الذي يرقد عليه حتى إذا أراد أن يوتر أيقظها فأوترت
Bukhari narrated it in the Book of Prayer, Chapter on Prayer Behind a Sleeping Person, no. 512, and Muslim in the Book of Prayer, Chapter on Lying Crosswise in Front of One Praying, no. 512, from the hadith of Hisham bin Urwa, with slight variation.