It is narrated from Abdullah bin Mughaffal that the Prophet (peace be upon him) said: If dogs were not a community (ummah), I would have ordered their extermination. Therefore, kill every extremely black dog. Whoever keeps a dog that is not for the purpose of guarding crops, hunting, or herds, their reward is diminished by one qirat every day. And the Prophet (peace be upon him) said: You may pray among flocks of sheep, but not among herds of camels, because their creation is from Satan. (There is devilishness in their nature.)
Hadith Referenceمسند احمد / أول مسند البصريين / 20571