Allah's Messenger (ﷺ) ordered that the dogs should be killed.

Sahih al-Bukhari Book 59 Hadith 129

Sahih al-Bukhari #3323

Beginning of Creation 59:129

Narrated `Abdullah bin `Umar:

Allah's Messenger (ﷺ) ordered that the dogs should be killed.

Chapter: If a housefly falls in the drink

Grade: Sahih