tenant timely pays rent and is not otherwise in default under the tenant's lease after foreclosure, the purchaser must give a residential tenant of the building at least 30 days' written notice to vacate if the purchaser chooses not to continue the lease. The tenant is considered to timely pay the rent under this subsection if, during the month of the foreclosure sale, the tenant pays the rent for that month to the landlord before receiving any notice that a foreclosure sale is scheduled during the month or pays the rent for that month to the foreclosing lienholder or the purchaser at foreclosure not later than the fifth day after the date of receipt of a written notice of the name and address of the purchaser that requests payment. Before a foreclosure sale, a foreclosing lienholder may give written notice to a tenant stating that a foreclosure notice has been given to the landlord or owner of the property and specifying the date of the foreclosure.
(c) If the occupant is a tenant of a person who acquired possession by forcible entry, the landlord must give the person at least three days' written notice to vacate before the landlord files a forcible detainer suit.
(c-1) If a federal law or rule requires a landlord to give notice to a tenant before the landlord requires the tenant to vacate the premises:
(1) a landlord that satisfies the notice requirements of this section is not required to delay the filing of an eviction suit based on the federal requirement;
(2) the federal requirement is not a basis for a court to delay or abate the conduct of the eviction suit; and
(3) a writ of possession may not be served on the tenant until the period between the delivery of the notice under this section and the service of the writ equals or exceeds the period prescribed by the