According to the detail provided in the question when eight months have passed over the pregnancy then now it is not allowable to abort it as per the Shariah. The danger about which the doctors fright you ie the death of the child, it might happen in abortion as well. Rather abortion is like killing the child with own hands. It is also that in case the child dies naturally there is no sin on man while in killing by abortion the man shall be sinful of murder.
Allah knows Best!
Darul Uloom Deoband