Sunan an-Nasa'i, Hadith 4277 ⓘ
It was narrated from Ibn 'Umar that: the Messenger of Allah commanded that dogs be killed, except those which were exempted.
أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَمَرَ بِقَتْلِ الْكِلاَبِ غَيْرَ مَا اسْتَثْنَى مِنْهَا .
also referenced under: Book 42, Hadith 15 (In-Book) & Volume 5, Book 42, Hadith 4282 (DarusSalam)