CIC
Canon 1138
Book IV. The sanctifying function of the Church
Sacraments
Code of Canon Law
English§1. The father is he whom a lawful marriage indicates unless clear evidence proves the contrary.
§2. Children born at least 180 days after the day when the marriage was celebrated or within 300 days from the day of the dissolution of conjugal life are presumed to be legitimate.