A:
If the hospital fulfilled its promise and
undertook washing, shrouding and burying the deceased baby, there is no harm in this. Otherwise, the father is sinful and has to repent to Allah (Glorified be He) from the evil act he committed.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.