I have stumbled upon reference regarding abortion ordered by God:
Numbers 5
25 The priest is to take from her hands the grain offering for jealousy, wave it before the LORD and bring it to the altar. 26 The priest is then to take a handful of the grain offering as a memorial offering and burn it on the altar; after that, he is to have the woman drink the water. 27 If she has defiled herself and been unfaithful to her husband, then when she is made to drink the water that brings a curse, it will go into her and cause bitter suffering; her abdomen will swell and her thigh waste away, [1] and she will become accursed among her people.
Footnote: 5:27 Or suffering; she will have barrenness and a miscarrying womb