I heard it was perfectly legal if you sign a paper gifting your wife the money and declareing that you do not make any claim on the land even under marriage laws....effectively saying that the land is hers outside the marriage as it would be if she owned it before the marriage.