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