Usama bin Umayr reported,

There were two women among us, and one of them struck the other with a tent pole, killing her and the child in her womb. The Prophet ﷺ ruled in the case of the Hilal woman that blood-money be paid for the woman, and he ruled that the blood-money for the unborn child be paid to her husband. He ordered that the blood-money be borne by the paternal male relatives of the killer, and he ruled that the compensation for the fetus be a male or female slave.

Azami 6873

Sahih

عن أسامة بن عمير الهذلي. وكان قد صحب النبي ﷺ قال

كانت فينا امرأتان، فضربت إحداهما الأخرى بعمود، فقتلتها، وقتلت ما فيه بطنها، فقضى النبي ﷺ الهلال في المرأة بالدية، وقضى بدية الغرة لزوجها، وقضى بالعقل على عصبة القاتلة، وقضى في الجنين بغرة عبد، أو أمة.

الأعظمي 6873صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Retaliation and crimes
Chapter
Blood money
Section
Compensation for the fetus
Numbering
Jami al-Kamil 6873 (2nd edition)
Azami 6873