This issue is usually addressed in your purchase contract - assuming you've signed a standard CAR agreement. Unless otherwise agreed to by the seller, it is usually the buyer's responsibility in dealing with the tenants. The buyer can always allow the escrow to close in 30 days, delay moving in for 30 days, and become a landlord for a month. The tenant would still have to pay you rent during this 30 days. It now becomes your responsibility to deal with the tenants. If the tenants fails to pay rent or move at the end of the termination notice, you can hire an eviction attorney to evict him.