Abdullah bin Umar reported,

The Messenger of Allah ﷺ commanded the killing of dogs, so we would set out through Madinah and its outskirts, leaving no dog alive without killing it, to the point that we would even kill the dog belonging to a Bedouin woman that followed her.

Muslim 4018

Sahih

و حدثني حميد بن مسعدة حدثنا بشر يعني ابن المفضل حدثنا إسمعيل وهو ابن أمية عن نافع

عن عبد الله قال

كان رسول الله ﷺ يأمر بقتل الكلاب فننبعث في المدينة وأطرافها فلا ندع كلبا إلا قتلناه حتى إنا لنقتل كلب المرية من أهل البادية يتبعها

مسلم 4018صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sharecropping of orchards
Chapter
Command to kill dogs, its abrogation, and the prohibition of keeping them except for hunting, farming, livestock, and similar purposes
Numbering
Darussalam 4018
Muslim 4018