N.D.C.C. § 9-01-14
Conditions unlawful or impossible
A condition in a contract, the fulfillment of which is impossible or unlawful within the meaning of chapter 9-04 or which is repugnant to the nature of the interest created by the contract, is void.