The lease and rent continue through the sale
Missouri generally lets an owner transfer rented property and the right to future rent without the tenant's consent, unless the lease says otherwise. The buyer becomes the landlord. If a tenant pays the former owner before receiving notice of the sale, that payment is protected.
Sources: RSMo §441.140 and RSMo §441.130.
