Sahih Bukhari Volume 4, Book 54, Hadith Number 450.
Narated By Salim’s father : Once Gabriel promised the Prophet (that he would visit him, but Gabriel did not come) and later on he said, “We, angels, do not enter a house which contains a picture or a dog.”