Hadith 6:1061
Waki' narrated to us, from Sufyan, from Jabir, from 'Amr ibn Yahya, from al-Nu'man, that the Messenger of Allah (may Allah bless him and grant him peace) performed the funeral prayer over a child of adultery, and over a slave woman who died during her postpartum period.
حدثنا وكيع عن سفيان عن جابر عن عمرو بن يحيى عن النعمان أن رسول الله صلى الله عليه وسلم صلى على ولد الزنى ( ( ( الزناء ) ) ) وعلى أمة ماتت في نفاسها