Ask a landlord-tenant lawyer and get answers ASAP
I'm Lucy, and I'd be happy to answer your questions today. I'm sorry to hear about your situation.
What state is the property located in?
I'm sorry to say, the federal Protecting Tenants at Foreclosure act expired at the end of 2014 and has not yet been extended. There were four bills introduced last year, but none of them became the law. That means Florida state law prevails, and under Florida law, a lease terminates at foreclosure. They're not even required to give you 30 days notice to vacate the property.
You do have the ability to sue your landlord for your costs associated with having to move, since the lease obligated him to give you a place to live for the entire term of the lease, and he breached that by allowing the property to be foreclosed. You can also sue him for the return of your security deposit, if you gave one.
I'm sorry to hear that. You're allowed to sue them in Florida, but it would be difficult to collect a judgment unless they return at some point. A judgment in Florida can be renewed forever, but I know that may not be all that helpful in your situation.