Abdullah bin Abbas reported,

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."

Ahmad 3455

Sahih

حدثنا عبد الرزاق حدثنا معمر عن أيوب عن عكرمة

عن ابن عباس

أن النبي ﷺ لما رأى الصور في البيت يعني الكعبة لم يدخل وأمر بها فمحيت ورأى إبراهيم وإسماعيل عليهما السلام بأيديهما الأزلام فقال قاتلهم الله والله ما استقسما بالأزلام قط

أحمد 3455صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 3455
Ahmad 3455