(17) بَابُ إِذَا وَقَعَ الذُّبَابُ فِي شَرَابِ أَحَدِكُمْ فَلْيَغْمِسْهُ، فَإِنَّ فِي إِحْدَى جَنَاحَيْهِ دَاءً وَفِي الأُخْرَى شِفَاءً
Narrated `Abdullah bin `Umar:
Allah's Messenger (ﷺ) ordered that the dogs should be killed.
Reference: Sahih al-Bukhari 3323
In-book reference: Book 59, Hadith 129
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 54, Hadith 540