(21) The Book of Funerals
كتاب الجنائز
(75) Chapter: Combining the funerals of men and women
(75) باب اجْتِمَاعِ جَنَائِزِ الرِّجَالِ وَالنِّسَاءِ ‏‏
Sunan an-Nasa'i 1979 
It was narrated from Samurah bin Jundab:
That the Messenger of Allah offered the funeral prayer for a mother who had died in childbirth, and he stood in line with her middle.
أَخْبَرَنَا عَلِيُّ بْنُ حُجْرٍ، قَالَ أَنْبَأَنَا ابْنُ الْمُبَارَكِ، وَالْفَضْلُ بْنُ مُوسَى، ح وَأَخْبَرَنَا سُوَيْدٌ، قَالَ أَنْبَأَنَا عَبْدُ اللَّهِ، عَنْ حُسَيْنٍ الْمُكْتِبِ، عَنْ عَبْدِ اللَّهِ بْنِ بُرَيْدَةَ، عَنْ سَمُرَةَ بْنِ جُنْدُبٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم صَلَّى عَلَى أُمِّ فُلاَنٍ مَاتَتْ فِي نِفَاسِهَا فَقَامَ فِي وَسَطِهَا ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan an-Nasa'i 1979
In-book reference : Book 21, Hadith 162
English translation : Vol. 3, Book 21, Hadith 1981