‘Abbas said “When the Prophet ﷺ came to Makkah he refused to enter the House (the Ka’bah) for there were idols in it. He ordered to take them out and they were taken out. The statues of Abraham and Isma’il were taken out and they had arrows in their hands. Apostle of Allaah ﷺ said “May Allaah destroy them! By Allaah, they knew that they never cast lots by arrow. He then entered the House(the Ka’bah) and uttered the takbir (Allaah is most great) in all its sides and corners. He then came out and did not pray.
أَنَّ النَّبِيَّ ﷺ لَمَّا قَدِمَ مَكَّةَ أَبَى أَنْ يَدْخُلَ الْبَيْتَ وَفِيهِ الآلِهَةُ فَأَمَرَ بِهَا فَأُخْرِجَتْ قَالَ فَأَخْرَجَ صُورَةَ إِبْرَاهِيمَ وَإِسْمَاعِيلَ وَفِي أَيْدِيهِمَا الأَزْلاَمُ فَقَالَ رَسُولُ اللَّهِ ﷺ قَاتَلَهُمُ اللَّهُ وَاللَّهِ لَقَدْ عَلِمُوا مَا اسْتَقْسَمَا بِهَا قَطُّ قَالَ ثُمَّ دَخَلَ الْبَيْتَ فَكَبَّرَ فِي نَوَاحِيهِ وَفِي زَوَايَاهُ ثُمَّ خَرَجَ وَلَمْ يُصَلِّ فِيهِ