Jami` at-Tirmidhi, Book 18, Hadith 15 (Tirmidhi 1500)

Narrated Abu Sa'eed:

That the Prophet (ﷺ) said: "Slaughtering the fetus is (achieved by) the slaughtering of its mother."