Sahih al-Bukhari 332
Sahih al-Bukhari · Book 6: Menstrual Periods · The offering of a funeral prayer for a woman who had died (or after) delivery and its (i.e., funeral prayer's) legal way of performing
Narrated Samura bin Jundub:
حَدَّثَنَا أَحْمَدُ بْنُ أَبِي سُرَيْجٍ ، قَالَ أَخْبَرَنَا شَبَابَةُ ، قَالَ أَخْبَرَنَا شُعْبَةُ ، عَنْ حُسَيْنٍ الْمُعَلِّمِ ، عَنِ ابْنِ بُرَيْدَةَ ، عَنْ سَمُرَةَ بْنِ جُنْدُبٍ ، أَنَّ امْرَأَةً، مَاتَتْ فِي بَطْنٍ ، فَصَلَّى عَلَيْهَا النَّبِيُّ صلى الله عليه وسلم فَقَامَ وَسَطَهَا.
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.