postnuptial agreement
An agreement between a husband and wife stating the rights of each party in the event of the other’s death, or in the case of a divorce, generally made at a time when neither eventuality is deemed to be imminent.