It is narrated from Abu Huraira (may Allah be pleased with him) that the Prophet (ﷺ) gave the ruling, regarding the child of a woman from Banu Lihyan who was born dead due to being struck by another woman, that as blood money a slave man or slave woman should be given. Then he said that the woman who caused the miscarriage, about whom the Prophet (ﷺ) had given the verdict, passed away, so the Messenger of Allah (ﷺ) ruled that her inheritance is for her sons and husband, and the payment of the blood money is upon her 'asaba (male relatives on the father's side).
Hadith Referenceمسند الإمام الشافعي / كتاب القتل والقصاص والديات والقسامة / 1648
Hadith Takhrijاخرجه البخاري، الفرائض ، باب ميراث المرأة و الزوج مع الولد وغيره (674)۔ (5758) ومسلم، القسامة ، باب دية الجنين ووجوب الدية في قتل الخط.... الخ (1681)۔