CIC
Canon 24
Book I. General norms
Code of Canon Law
English§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.