If your tenants have a signed contract, than you can't just get rid of them. They have every right to be living there until the end of their contract. If they don't have a contract, than you should have warned them ahead of time that you are planning to sell the house and they should start looking ...