Sahih al-Bukhari #3227
Beginning of Creation 59:38
Narrated 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."