When you sell the property with tenants in situ the new owner becomes the landlord and assumes all the rights and responsibilities of the former landlord. The lease with the tenant remains in place until it expires, and the new owner must honor the terms of the lease.