Sahih Muslim #1575 c
The Book of Musaqah 22:71
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:
He who kept a dog would lose out of his deeds equal to one qirat every day. except (one kept) for watching the field or herd.