When any officer shall die, be removed from office or disqualified, or shall remove from this state, after the sale of any property and before executing a conveyance therefor, as required by law, or after executing a defective conveyance therefor, the purchaser, his grantee, or anyone claiming by, through or under the purchaser, may petition the court out of which the execution issued, stating the facts, verified by affidavit, and if said petitioner satisfy the court that the purchase money has been paid, the court shall order the sheriff then in office to execute, acknowledge and deliver a deed to the purchaser, or if he be dead, to his heirs, and if the purchaser has sold the same, to his grantee, or to the party claiming by, through or under said purchaser, reciting the facts; which deed shall be executed accordingly, and shall have the same effect, to all intents and purposes, as if made by the officer so deceased, removed from office, disqualified or absent from the state.
§ 513.335, RSMo