you may double check the contract your sister had signed. usually, that matter is included in the contract that whenever the tenant decided to vacate the flat prior to date/month it will be ending, the tenant is obliged to pay 2 months of its rent. That is for the landlord's security as well.