It was narrated from ‘Aishah:
“The Prophet (ﷺ) used to pray at night, and I was laying between him and the prayer direction, as a (body for a) funeral horizontally.’”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ كَانَ يُصَلِّي مِنَ اللَّيْلِ وَأَنَا مُعْتَرِضَةٌ بَيْنَهُ وَبَيْنَ الْقِبْلَةِ كَاعْتِرَاضِ الْجِنَازَةِ ‏"‏ ‏.‏
GradeSahih (Darussalam)
English reference : Vol. 1, Book 5, Hadith 956
Arabic reference : Book 5, Hadith 1009