(1) If a tenant is occupying residential premises that are the subject of a foreclosure sale, upon issuance of a certificate of title following the sale, the purchaser named in the certificate of title takes title to the residential premises subject to the rights of the tenant under this section.
(a) The tenant may remain in possession of the premises for 30 days following the date of the purchaser’s delivery of a written 30-day notice of termination.
(b) The tenant is entitled to the protections of s. 83.67. (c) The 30-day notice of termination must be in substantially the following form:
NOTICE TO TENANT OF TERMINATION
You are hereby notified that your rental agreement is terminated on the date of delivery of this notice, that your occupancy is terminated 30 days following the date of the delivery of this notice, and that I demand possession of the premises on (date) . If you do not vacate the premises by that date, I will ask the court for an order allowing me to remove you and your belongings from the premises. You are obligated to pay rent during the 30-day period for any amount that might accrue during that period. Your rent must be delivered to (landlord’s name and address) .
(d) The 30-day notice of termination shall be delivered in the same manner as provided in s. 83.56(4). (2) The purchaser at the foreclosure sale may apply to the court for a writ of possession based upon a sworn affidavit that the 30-day notice of termination was delivered to the tenant and the tenant has failed to vacate the premises at the conclusion of the 30-day period. If the court awards a writ of possession, the writ must be served on the tenant. The writ of possession shall be governed by s. 83.62. (3) This section does not apply if:
(a) The tenant is the mortgagor in the subject foreclosure or is the child, spouse, or parent of the mortgagor in the subject foreclosure.
(b) The tenant’s rental agreement is not the result of an arm’s length transaction.
(c) The tenant’s rental agreement allows the tenant to pay rent that is substantially less than the fair market rent for the premises, unless the rent is reduced or subsidized due to a federal, state, or local subsidy.
(4) A purchaser at a foreclosure sale of a residential premises occupied by a tenant does not assume the obligations of a landlord, except as provided in paragraph (1)(b), unless or until the purchaser assumes an existing rental agreement with the tenant that has not ended or enters into a new rental agreement with the tenant.