The Prophet ﷺ offered the funeral prayer for the dead body of a woman who died during delivery (i.e. childbirth) and he stood by the middle of her body. (Using translation from Bukhārī 332)
«أَنَّ امْرَأَةً مَاتَتْ فِي الْبَطْنِ فَصَلَّى عَلَيْهَا رَسُولُ اللهِ ﷺ فَقَامَ وَسَطَهَا»