This canon is found in the Corpus Juris Canonici, Gratian’s Decretum, Pars II., Causa VII., Quæst. I., Can. xxiv.