Ibn 'Umar reported Allah's Messenger (ﷺ) as saying He who kept a dog other than one meant for hunting or for watching the herd lost out of his deeds (equal to) two qirat every day.
Sahih Muslim Book 22, Hadith 64