This canon is found in the Corpus Juris Canonici, Gratian’s Decretum, Pars II., Causa XXXVI., Q. II., canon j.