I prayed behind the Prophet ﷺ over a woman who had died in childbirth, and he stood at her middle to perform the prayer over her.
حدثنا مسدد حدثنا يزيد بن زريع حدثنا حسين المعلم حدثنا عبد الله بن بريدة
صليت وراء النبي ﷺ على امرأة ماتت في نفاسها فقام عليها للصلاة وسطها
Takhrij (source citation): Bukhari transmitted it in the Book of Funerals, chapter "The prayer over a woman who died in childbirth," hadith 1331, from Musaddad. Muslim transmitted it in the Book of Funerals, chapter "Where the imam stands relative to the deceased for the funeral prayer," hadith 964, from the hadith of Husayn Muallim, with the same wording.