The lease continues after the sale
You can sell while tenants are living in the house. The buyer takes the property subject to the lease or rental agreement and gets the same rights to collect rent and enforce it. Selling the house does not end the agreement or make the tenants move.
