Praise be to Allah.
You do not have to cancel your contract, and you can stay on the farm. This is permissible provision so long as you are doing acceptable work and earning a halaal income. Praise Allah, may He be glorified and exalted, offer the prayers on time, say the adhaan and iqaamah, maintain your religious commitment and be of good cheer, even if you are on your own. Praise be to Allah. End quote.
Shaykh ‘Abd al-‘Azeez ibn Baaz (may Allah have mercy on him)