And in the narration of Ibn Abi Umayr from Ibn Udhaynah (regarding the issue of a posthumous child): Imam عليه السلام said: "The child is removed, and her abdomen is stitched."
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 1, p. 366