The zoning commission or governing body may not require as a condition of approval of a request to amend or modify a zoning regulation the execution of an agreement by the owner of the property requesting the amendment or modification stating that the owner will not oppose the annexation of the property by the municipality. This section does not apply to property located within one quarter mile [.40 kilometer] of the municipality's corporate limits or to an agreement that contains a provision whereby the municipality agrees to provide a municipal service or services before the annexation. Any agreement entered in violation of this section is void.
N.D.C.C. § 40-47-01.2