Originally Posted by ScottGem
It would help to know where you live. But, unless you live in California, then you are required to pay your rent normally until you are officially notified that the property has changed hands. If not, you can be evicted.
The current mortgage crisis has caused many problems like this. Landlords finding themselves in a bind and can't afford to keep up the mortgage even by renting. Once the property is officially foreclosed your lease is void.
The reality though is that you will be given time to find a new place. The new owner, might even help by "paying for keys". So I would continue to pay your rent as prescribed in your lease.