If the sale of a homestead is made as provided in section 47-18-13, the proceeds thereof to the amount of the homestead exemption must be paid to the claimant and the residue applied to the satisfaction of the execution. When the execution is against a married claimant whose spouse is living, the court may direct that the one hundred fifty thousand dollars be deposited in court to be paid out only on the joint receipt of the husband and wife, and it shall possess all the protection against legal process and voluntary disposition by either spouse as did the original homestead premises whether paid directly to the claimant or to the husband and wife jointly.
N.D.C.C. § 47-18-14