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.

Sahih Muslim Book 22, Hadith 71