Section 26 of The Indian Contract Act, 1872 View Chapter 2

Agreement in restraint of marriage, void.

Every agreement in restraint of the marriage of any person, other than a minor, is void.