Shariah ruling about a pregnant sacrificial animal
If a sacrificial animal is pregnant and is about to deliver, then sacrifice of such an animal is Makruh (Undesirable). If a live baby is found after the slaughter, then that baby also has to be slaughtered. If it is not slaughtered in the days of sacrifice, then it has to given away in charity. If the baby is stolen or if it is slaughtered after the days of sacrifice and consumed, then the price of that baby has to be given in charity. As mentioned in Fatawa A’alamgiri:
(Fatawa A’alamgiri, Vol. 5, Pg. No. 302)