Conn. Gen. Stat. § 46b-36h
Enforcement of premarital agreement when marriage void
If the marriage is held void or voidable, an agreement that would otherwise have been a premarital agreement shall be enforceable only to the extent necessary to avoid an inequitable result.
(P.A. 95-170, S. 7, 11.)