(103) باب الصَّلاَةِ خَلْفَ النَّائِمِ
Narrated `Aisha:
The Prophet (ﷺ) used to pray while I was sleeping across in his bed in front of him. Whenever he wanted to pray witr, he would wake me up and I would pray witr.
Reference: Sahih al-Bukhari 512
In-book reference: Book 8, Hadith 159
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 9, Hadith 491