Narrated Abu Huraira
Two women from the tribe of Hudhail (fought with each other) and one of them threw (a stone at) the other, causing her to have a miscarriage and Allah's Messenger (ﷺ) gave his verdict that the killer (of the fetus) should give a male or female slave (as a Diya).
Narrated Hisham's father from Al-Mughira bin Shu'ba
'Umar consulted the companions about the case of a woman's abortion (caused by somebody else). Al-Mughira said: The Prophet (ﷺ) gave the verdict that a male or female slave should be given (as a Diya). Then Muhammad bin Maslama testified that he had witnessed the Prophet (ﷺ) giving such a verdict.
Narrated Hisham's father
'Umar asked the people, "Who heard the Prophet (ﷺ) giving his verdict regarding abortions?" Al-Mughira said, "I heard him judging that a male or female slave should be given (as a Diya)." 'Umar said, "Present a witness to testify your statement." Muhammad bin Maslama said, "I testify that the Prophet (ﷺ) gave such a judgment."