This canon is found in the Corpus Juris Canonici, Gratian’s Decretum, Pars II., Causa XVIII., Q. II., canon x., § 3.