It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that when the Messenger of Allah (peace and blessings be upon him) entered the House (the Ka'bah), he found in it pictures of Sayyiduna Ibrahim (peace be upon him) and Sayyidah Maryam (peace be upon her), and he said: "They certainly knew that the angels do not enter a house in which there is a picture. This is Ibrahim, depicted; what is the matter with him that he is seeking his fortune with divining arrows?"
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12119