I prayed with the Messenger of Allah ﷺ over Umm Kaab, who had died in childbirth. The Messenger of Allah ﷺ stood at her middle during the prayer.
أخبرنا حميد بن مسعدة عن عبد الوارث عن حسين يعني المعلم عن ابن بريدة
صليت مع رسول الله ﷺ على أم كعب ماتت في نفاسها فقام رسول الله ﷺ في الصلاة في وسطها
Bukhari narrated it in the Book of Funerals, chapter "Where does one stand for the woman and the man," hadith 1332, and Muslim in the Book of Funerals, chapter "Where the imam stands relative to the deceased for the prayer over him," hadith 964, from the hadith of Abdul-Warith Ibn Saeed, through this same chain.