Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1570bAbū Bakr b. Abū Shaybah > Abū Usāmah > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

Messenger of Allah ﷺ ordered to kill dogs, and he sent (men) to the corners of Medina that they should be killed.  

مسلم:١٥٧٠bحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا أَبُو أُسَامَةَ حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

أَمَرَ رَسُولُ اللَّهِ ﷺ بِقَتْلِ الْكِلاَبِ فَأَرْسَلَ فِي أَقْطَارِ الْمَدِينَةِ أَنْ تُقْتَلَ