The lease and possession
Selling does not by itself require the tenant to move. The lease still matters. If you want to end a month-to-month tenancy, Missouri generally requires written notice at least one month before the rent-paying date when the tenancy ends. A sale by itself is not a move-out date.
Missouri Revised Statutes § 441.060 — month-to-month notice →