Can. 24

§1. No custom which is contrary to divine law can obtain the force of law.

§2. A custom contrary to or beyond canon law (praeter ius canonicum) cannot obtain the force of law unless it is reasonable; a custom which is expressly reprobated in the law, however, is not reasonable.

Read the whole title TITLE IICustom 23–28