When the Prophet ﷺ saw the images inside the House, meaning the Kaabah, he did not enter, and he ordered them to be erased, so they were wiped out. He saw Ibrahim and Ismail, peace be upon them, depicted with divining arrows in their hands, and he said, "May Allah destroy them. By Allah, they never sought omens through divining arrows."
حدثنا عبد الرزاق حدثنا معمر عن أيوب عن عكرمة
أن النبي ﷺ لما رأى الصور في البيت يعني الكعبة لم يدخل وأمر بها فمحيت ورأى إبراهيم وإسماعيل عليهما السلام بأيديهما الأزلام فقال قاتلهم الله والله ما استقسما بالأزلام قط