Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.075.
Section : A Woman who Dies While Pregnant with a Living Fetus.
If a pregnant woman dies and the trustworthy physicians are sure that the fetus is alive, then it must be taken out of her womb by a caesarian operation.