Narrated 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.”
Sahih Bukhari, Volume 7, Book72, Number 843