"Were it not that dogs form one of the communities (or nations - of creatures), I would have commanded that they be killed. But kill those that are all black. Any people who keep a dog, except for dogs used for farming, hunting or herding livestock, one Qirat will be deducted from their reward each day." (Using translation from Nasāʾī 4280)
قَالَ رَسُولُ اللهِ ﷺ لَوْلَا أَنَّ الْكِلَابَ أُمَّةٌ مِنَ الْأُمَمِ لَأَمَرْتُ بِقَتْلِهَا فَاقْتُلُوا مِنْهَا الْأَسْوَدَ الْبَهِيمَ وَأَيُّمَا قَوْمٍ اتَّخَذُوا كَلْبًا لَيْسَ بِكَلْبِ حَرْثٍ أَوْ صَيْدٍ أَوْ مَاشِيَةٍ نَقَصُوا مِنْ أُجُورِهِمْ كُلَّ يَوْمٍ قِيرَاطًا قَالَ وَكُنَّا نُؤْمَرُ أَنْ نُصَلِّيَ فِي مَرَابِضِ الْغَنَمِ وَلَا نُصَلِّيَ فِي أَعْطَانِ الْإِبِلِ فَإِنَّهَا خُلِقَتْ مِنَ الشَّيَاطِينِ