Narrated by Aisha (may Allah be pleased with her), she said: "The Messenger of Allah (ﷺ) used to pray at night and I would be lying between him and the Qiblah in such a way as a body is placed in a bier (funeral)."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 182
Hadith Takhrijأخرجہ البخاری، الصلاۃ، باب الصلاۃ علی الفراش: 383 ، 384 - ومسلم، الصلاۃ، باب الاعتراض بین یدی المصلی: 512۔