Bulugh al-Maram

Book 8, Hadith 164

Arabic hadith text
وَفِي لَفْظٍ: { أَنَّهَا وَضَعَتْ بَعْدَ وَفَاةِ زَوْجِهَا بِأَرْبَعِينَ لَيْلَةً 1‏ } .‏‏1 ‏- هذا اللفظ للبخاري ( 4909 )‏ من حديث أم سلمة السابق.‏
Translation
A wording has

"She gave birth to a child after forty nights of her husband's death."