The Messenger of Allah ﷺ ruled that for a fetus killed in its mother's womb, the compensation was a male or female slave. The man against whom this judgment was passed said, "How can I be made to pay for one who neither ate nor drank, neither spoke nor cried out? Such a case should be dismissed without compensation."The Messenger of Allah ﷺ replied, "This man is one of the brothers of the soothsayers."
وعن ابن شهاب
أن رسول الله ﷺ قضى في الجنين يقتل في بطن أمه بغرة عبد أو وليدة فقال الذي قضي عليه كيف أغرم ما لا أكل ولا شرب ولا نطق ولا استهل ومثل ذلك يطل فقال رسول الله ﷺ إنما هذا من إخوان الكهان