If you are selling a house with tenants in, the new owner will be legally bound by the lease terms. The tenant will have the right to stay in the property until the end of the lease period unless they breach the terms of the lease agreement.