Massachusetts General Laws
Chapter 186a - Tenant Protections in Foreclosed Properties
Section 2 - Eviction of Tenants Prohibited; Exceptions

Section 2. Notwithstanding any general or special law to the contrary, a foreclosing owner shall not evict a tenant except for just cause or unless a binding purchase and sale agreement has been executed for a bona fide third party to purchase the housing accommodation from a foreclosing owner.