The Prophet ﷺ entered the House and found inside it an image of Ibrahim and an image of Maryam. He said, "As for them, they have heard that angels do not enter a house in which there is an image. Here is Ibrahim depicted in an image, so why is he shown drawing lots with arrows?"
دخل النبي ﷺ البيت، وجد فيه صورة إبراهيم وصورة مريم. فقال: أما لهم فقد سمعوا أن الملائكة لا تدخل بيتا فيه صورة. هذا إبراهيم مصور، فما له يستقسم.
Bukhari narrated it in the Hadiths of the Prophets (3351), from Yahya bin Salman, who said, Ibn Wahb narrated to me, who said, Amr informed me that Bukayr told him, from Kurayb, the freedman of Ibn Abbas, from Ibn Abbas, and he related the hadith. Imam Ahmad also narrated it (2508) from Harun bin Maruf, from Ibn Wahb, and in it, "So what is the matter with him, that he practices divination by arrows?"As for his saying "practices divination by arrows," it seems they depicted his image as though he used to practice divination by arrows, whereas it is well known that Ibrahim was innocent of that. Divination by arrows was one of the practices of the pre-Islamic era, and it is what is mentioned in the words of Allah Most High, "and that you seek decision by divining arrows" [Maidah 5:3].