Sunan Ibn Majah, Book 5, Hadith 154 (Ibn Majah 956)

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.’”