A tenant is liable according to the terms of the lease. The filing of a foreclosure suit does not typically terminate a lease, and a failure to pay rent may result in breach of contract (See WHAT HAPPENS IF YOU BREAK A LEASE? above). In some cases, the tenant may be required to pay rental payments to the foreclosing party. A tenant may also have certain rights in a foreclosure suit to protect himself/herself. You may need to contact your legal representative regarding your particular rights during a foreclosure suit.
For more information concerning landlord and tenant law, you can visit https://www.freshfromflorida.com/Consumer-Resources/Consumer-Rights-and-Responsibilities/Landlord-Tenant-Law-in-Florida