Sayyiduna Abdullah bin Mughaffal (may Allah be pleased with him) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "If dogs were not a species among the creatures, I would have ordered them to be killed. However, you should kill the black dog among them." The Prophet Muhammad (peace and blessings be upon him) said: Whoever keeps a dog that is not for guarding fields, hunting, or protecting livestock, then a qirat (a portion) of his reward is reduced every day. The narrator states: We were commanded that we could pray in sheep enclosures, but we should not pray in camel enclosures because they are created from devils.
Hadith Referenceصحیح ابن حبان / كتاب الحظر والإباحة / 5657
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - المصدر نفسه.فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح