Section 27. Refund of advance rent

27. Refund of advance rent. The landlord shall before recovery of possession of rental unit refund rent and other payment, if any, received in advance from the tenant, where tenant vacates the premises on a notice given by the landlord under clauses I and II of section 21: