From Sahih Muslim (Hadith 4030):
Abu Huraira reported Allah's Messenger (ﷺ) as saying:He who kept a dog which is neither meant for hunting nor for watching the anitmals nor for watching the fields would lose two qirat every day out of his reward; and there is no mention of the fields in the hadith transmitted by Abu Tahir
Reference: Muslim 4030