Some Companions of the Prophet ﷺ reported,

The Messenger of Allah ﷺ said, "If a woman commits intentional murder, she is not to be executed until she delivers the child in her womb, if she is pregnant, and until she has arranged care for her child. And if she commits adultery, she is not to be stoned until she delivers the child in her womb and until she has arranged care for her child."

Ibn Majah 2694

Daif

حدثنا محمد بن يحيى حدثنا أبو صالح عن ابن لهيعة عن ابن أنعم عن عبادة بن نسي عن عبد الرحمن بن غنم

حدثنا معاذ بن جبل وأبو عبيدة بن الجراح وعبادة بن الصامت وشداد بن أوس

أن رسول الله ﷺ قال المرأة إذا قتلت عمدا لا تقتل حتى تضع ما في بطنها إن كانت حاملا وحتى تكفل ولدها وإن زنت لم ترجم حتى تضع ما في بطنها وحتى تكفل ولدها

ابن ماجه 2694ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Blood money
Chapter
Pregnant woman upon whom retaliation is obligatory
Numbering
Darussalam 2694
Ibn Majah 2694