No, the tenant cannot continue to stay. The landlord must ensure that the tenant complies with all the covenants in the lease and the provisions of the Housing & Development Act. If the landlord decides to sell the HDB, the new owner may not be obligated to honor the existing lease agreement.