I am sorry you have been caught up in a growing issue. This is a grey area and you may need to seek legal councel on this. Maryland has rules and guildlines for renters I would be happy to send you the information. Your lease is with the owner of the property and just because their is a pending forclosure does not mean the owner is not trying to rework things with the bank. It would be a shame for you to jepordize your credit and possible legal issues if you stop paying. I did once have a renter put money in an escrow after filing certain papers at the court house. But you would want to double check the MD laws on when and how you can do such a thing.
Best of Luck and if you would like the MD Rental laws let me know.
It's certainly acceptable for you to ask the landlord to prorate the rent, so that you're not paying for time you won't be able to live there. And it's even acceptable to ask the landlord for permission not to pay the rent at all. But without his agreement to modification of the lease terms, don't do it.
To not pay your rent could open yourself up to problems that could have otherwise easily been avoided. As long as your landlord owns the property and you reside in the home, you have an obligation should be to fulfill your end of the agreement.