Malaysia legislation
Section 7
Section 7
Compounding of maintenance
An agreement for the payment, in money or other property, of a capital sum in settlement of all future claims to maintenance, shall not be effective until it has been approved, or approved subject to conditions, by the court, but when so approved, shall be a good defence to any claim for maintenance.