It was narrated from Samurah bin Jundab Al-Fazari that the Messenger of Allah (ﷺ) offered the funeral prayer for a woman who had died in nifas* and he stood level with her middle (i.e. her waist).”

*The postnatal bleeding period.
Sunan Ibn Majah Book 6, Hadith 61