If the property is foreclosed on, as a tenant you will still have rights depending on how long you have lived in the property, you should contact the local housing authority to help you determine who the rent goes to and what kind of notice is required you be given. You will not be paying the current owner if the property is foreclosed on.
I'm going to assume you hired a Realtor and they submitted your offer to the Listing Agent. Have your Realtor contact the Listing Agent to see if the Trustee Sale/Auction has been postponed. Make sure your Realtor gets a confirmation from the Listing Agent that it has been postponed. As for paying your landlord rent, if you have a written agreeement with your landlord, you still need to abide by it so you are not trespassing illegally - just make sure you keep records/copies of payments.