1,298. An Infant Who Passes Away
200:8 If a child died after 30 days so that we know he was viable, he is treated like any other deceased person. However, if the deceased is a boy and for whatever reason he was not yet circumcised, we do not bury him on the first day of yom tov, even if the body starts to stink. This is because the deceased needs first to be circumcised; this can only be done by a Jew, so we must wait until the second day of yom tov. This is permitted because we may delay a burial for the honor of the deceased. On the second day of yom tov, the deceased is circumcised and then buried.
200:9 If a baby died and it is possible that he wasn't viable, then he is not buried on the first day of yom tov, not even by a non-Jew, so long as the body has not started to stink. Rather, he is buried on the second day of yom tov by a non-Jew, but not by a Jew. If the body has started to stink, he is buried on the first day by a non-Jew.
If such a child died on the second day of yom tov, he is buried that same day by a non-Jew, though not by a Jew. If the deceased is a boy who was not yet circumcised, he is not yet buried, even if the body has started to stink - not even on the second day of yom tov and not even by a non-Jew. Rather, we wait until after yom tov, circumcise the deceased, and then bury him.