Sahih Bukhari Volume 7, Book 72, Hadith Number 843.

Narrated By Salim’s father : Once Gabriel promised to visit the Prophet but he delayed and the Prophet got worried about that. At last he came out and found Gabriel and complained to him of his grief (for his delay). Gabriel said to him, “We do not enter a place in which there is a picture or a dog.”