And provided further, That no patents shall issue therefor except to the person so taking the same as and for a homestead, or his heirs, and after the expiration of five years occupancy thereof as such homestead; and any conveyance of said lands so taken as a homestead, or any contract touching the same, or lien thereon, created prior to the date of such patent, shall be null and void.