When the Messenger of Allah ﷺ arrived, he refused to enter the House while the idols were inside, so he ordered that they be removed. They brought out an image of Ibrahim and Ismail with divining arrows in their hands.The Messenger of Allah ﷺ said, "May Allah destroy them. By Allah, they knew well that these two never sought omens through divining arrows."Then he entered the House and proclaimed Allah's greatness in its corners, but he did not pray inside it.
حدثنا أبو معمر حدثنا عبد الوارث حدثنا أيوب حدثنا عكرمة
إن رسول الله ﷺ لما قدم أبى أن يدخل البيت وفيه الآلهة فأمر بها فأخرجت فأخرجوا صورة إبراهيم وإسماعيل في أيديهما الأزلام فقال رسول الله ﷺ قاتلهم الله أما والله لقد علموا أنهما لم يستقسما بها قط فدخل البيت فكبر في نواحيه ولم يصل فيه