When real property has been sold on execution, the purchaser thereof, or any person who may have succeeded to the purchaser's interest, after the purchaser's estate becomes absolute, may recover damages for injury to the property by the tenant in possession after sale and before possession is delivered under the conveyances.
N.D.C.C. § 32-17-16