Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) reports: The Messenger of Allah (peace and blessings be upon him) said: "It is sufficient to slaughter the mother of the fetus in the womb, instead of slaughtering the fetus itself."
Related hadith on this topic