N.D. Cent. Code § 14-03.2-07 (2025)
14-03.2-07. Void marriage.
If a marriage is determined to be void, a premarital agreement or marital agreement is enforceable to the extent necessary to avoid an inequitable result.