Tenants stay protected through a sale
The New Jersey Courts landlord-tenant page says a landlord cannot change locks, padlock doors or shut off gas, water or electricity to force a tenant out. It also says a residential tenancy is not generally affected by a foreclosure, and a sheriff's sale purchaser takes the building subject to the tenant's rights. The same logic applies when you sell. A buyer should expect to honor leases unless the tenants leave lawfully.
