Sahih Bukhari Volume 005, Book 059, Hadith Number 338.
Hadith Section/Book: Sahih Bukhari Sahih Bukhari Book 59. Military Expeditions Led by the Prophet (PBUH) (Al-Maghaazi)
Narrated By Ibn Abbas: Abu Talha, a companion of Allah's Apostle and one of those who fought at Badr together with Allah's Apostle told me that Allah's Apostle said. "Angels do not enter a house in which there is a dog or a picture" He meant the images of creatures that have souls.