All contracts for marriage settlements and contracts for separation, must be in writing, and executed and acknowledged or proved in like manner as a grant of land is required to be executed and acknowledged or proved.