In any proceeding involving an order, modification of an order, or enforcement of an order for the custody, support, or visitation of a child in which the custody or visitation issue is contested, the court may order mediation at the parties' own expense. The court may not order mediation if the custody, support, or visitation issue involves or may involve physical or sexual abuse of any party or the child of any party to the proceeding.
N.D.C.C. § 14-09.1-02