Sale does not break a lease
When a let property is sold, the buyer steps into the existing tenancy — the tenant keeps the dwelling on unchanged terms (section 566 BGB).
German: Kauf bricht nicht Miete
This explanation is for orientation; German law applies. No legal advice in individual cases.