Can. 867 §1. Parents are obliged to take care that infants are baptized in the first few weeks*; as soon as possible after the birth or even before it, they are to go to the pastor to request the sacrament for their child and to be prepared properly for it.
§2. An infant in danger of death is to be baptized without delay.
Can. 868 §1. For an infant to be baptized licitly:
1/ the parents or at least one of them or the person who legitimately takes their place must consent;
2/ there must be a founded hope that the infant will be brought up in the Catholic religion; if such hope is altogether lacking, the baptism is to be delayed according to the prescripts of particular law after the parents have been advised about the reason.
§2. An infant of Catholic parents or even of non-Catholic parents is baptized licitly in danger of death even against the will of the parents.
SPONSORS
Can. 872 Insofar as possible, a person to be baptized is to be given a sponsor who assists an adult in Christian initiation or together with the parents presents an infant for baptism. A sponsor also helps the baptized person to lead a Christian life in keeping with baptism and to fulfill faithfully the obligations inherent in it.
Can. 873 There is to be only one male sponsor or one female sponsor or one of each.
Can. 874 §1. To be permitted to take on the function of sponsor a person must:
1/ be designated by the one to be baptized, by the parents or the person who takes their place, or in their absence by the pastor or minister and have the aptitude and intention of fulfilling this function;
2/ have completed the sixteenth year of age, unless the diocesan bishop has established another age, or the pastor or minister has granted an exception for a just cause;
3/ be a Catholic who has been confirmed and has already received the most holy sacrament of the Eucharist and who leads a life of faith in keeping with the function to be taken on;
4/ not be bound by any canonical penalty legitimately imposed or declared;
5/ not be the father or mother of the one to be baptized.
§2. A baptized person who belongs to a non-Catholic ecclesial community is not to participate except together with a Catholic sponsor and then only as a witness of the baptism.