The Messenger of Allah ﷺ used to pray at night and she (‘A’ishah) would lie between him and the qiblah, sleeping on the bed on which he would sleep. When he wanted to offer the witr prayer, he awakened her and she offered the witr prayer.
أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي صَلاَتَهُ مِنَ اللَّيْلِ وَهِيَ مُعْتَرِضَةٌ بَيْنَهُ وَبَيْنَ الْقِبْلَةِ رَاقِدَةً عَلَى الْفِرَاشِ الَّذِي يَرْقُدُ عَلَيْهِ حَتَّى إِذَا أَرَادَ أَنْ يُوتِرَ أَيْقَظَهَا فَأَوْتَرَتْ