If the landlord sells the property before the end of lease then he or she must ensure that the buyer agrees to continue the existing rental agreement. The buyer, as a new landlord, must then comply with the agreement and cannot unlawfully force the tenant out before the end of the lease.