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/ spes habeatur fundata eum in religione catholica educatum iri, firma §3; quae si prorsus deficiat, baptismus secundum praescripta iuris particularis differatur, monitis de ratione parentibus.

§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.

Amended by De concordia inter Codices, May 31, 2016.
This edition does not print the change. Content available in Latin.
This edition does not print the change. Content available in Latin.
Earlier wording

§1. 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.

Read the whole title TITLE IBaptism 849–878

Cited in 2