From Sahih Muslim (Hadith 4023):
Ibn Umar (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:He who keeps a dog other than that meant for watching the herd or for hunting loses every day out of his deeds equal to two qirat
Reference: Muslim 4023