When a person who is bound by contract in writing to convey any real estate, dies before making the conveyance, and such decedent, if living, might be compelled to make such conveyance, the district court may enter a decree authorizing and directing his executor or administrator to convey such real estate to the person entitled thereto.
Okla. Stat. tit. 58, § 501