I believe that there is no definitive teaching of the Church on this topic. First and foremost, we must acknowledge that there is no definitive teaching. What exists are theological opinions, some Popes and even Saint Augustine have spoken on the issue of unbaptized children, but I repeat, there is no dogmatic, definitive pronouncement from the Magisterium on this matter specifically.
Therefore, we have, in a certain sense, the freedom to reflect and form a theological opinion. It is not forbidden to do so.
In this context, I believe that when Christian parents sincerely desire baptism for their child, and the child dies before receiving it, whether in the womb, during birth, or shortly afterward, this desire of the parents can be considered as a form of baptismal intention. I believe God could accept this as a desire for baptism.
During infant baptism, the infant is unable to speak or make a personal decision, yet is baptized. In such cases, the parents or the godparents speak on behalf of the child, expressing the desire for the child to be baptized. In a similar way, I believe that God could accept the parents’ desire when the child dies before baptism.
Therefore, I believe these children are in heaven.
Dear visitors of Gloria Dei and all who have already written or who will write a personal message to me. I am grateful for your attention, your kindness, for your spiritual support and especially for your sacrifices and prayers for me. God may reward you!