A contract of purchase of lands, made pursuant to the provisions of this title, entitles the purchaser, or the purchaser's heirs or assigns, to the possession of the lands therein described and to maintain actions for injuries done to the lands or to recover possession thereof, unless the contract has been canceled and not redeemed. A contract of purchase in force may be recorded in the manner provided by law for recording of deeds of conveyance.
N.D.C.C. § 15-08-07