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:1198fʿAbd b. Ḥumayd > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī Bihadhā al-Isnād

The Messenger of Allah ﷺ commanded to kill five harmful things in the state of lhram or otherwise. The rest of the hadith is the same.  

مسلم:١١٩٨fوَحَدَّثَنَاهُ عَبْدُ بْنُ حُمَيْدٍ أَخْبَرَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ بِهَذَا الإِسْنَادِ قَالَتْ

أَمَرَ رَسُولُ اللَّهِ ﷺ بِقَتْلِ خَمْسِ فَوَاسِقَ فِي الْحِلِّ وَالْحَرَمِ ثُمَّ ذَكَرَ بِمِثْلِ حَدِيثِ يَزِيدَ بْنِ زُرَيْعٍ