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.
Sahih Muslim Book 15, Hadith 76