(17) بَابُ إِذَا وَقَعَ الذُّبَابُ فِي شَرَابِ أَحَدِكُمْ فَلْيَغْمِسْهُ، فَإِنَّ فِي إِحْدَى جَنَاحَيْهِ دَاءً وَفِي الأُخْرَى شِفَاءً
Narrated Abu Talha:
The Prophet (ﷺ) said, "Angels do not enter a house that has either a dog or a picture in it."
Reference: Sahih al-Bukhari 3322
In-book reference: Book 59, Hadith 128
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 54, Hadith 539