Sahih al-Bukhari 3352
Sahih al-Bukhari · Book 60: Prophets · The Statement of Allah Taa'la: "...And Allah did take Ibrahim as a Khalil."
Narrated Ibn `Abbas:
حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى ، أَخْبَرَنَا هِشَامٌ ، عَنْ مَعْمَرٍ ، عَنْ أَيُّوبَ ، عَنْ عِكْرِمَةَ ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما أَنَّ النَّبِيَّ صلى الله عليه وسلم لَمَّا رَأَى الصُّوَرَ فِي الْبَيْتِ لَمْ يَدْخُلْ، حَتَّى أَمَرَ بِهَا فَمُحِيَتْ، وَرَأَى إِبْرَاهِيمَ وَإِسْمَاعِيلَ ـ عَلَيْهِمَا السَّلاَمُ ـ بِأَيْدِيهِمَا الأَزْلاَمُ فَقَالَ " قَاتَلَهُمُ اللَّهُ، وَاللَّهِ إِنِ اسْتَقْسَمَا بِالأَزْلاَمِ قَطُّ " .
When the Prophet (ﷺ) saw pictures in the Ka`ba, he did not enter it till he ordered them to be erased. When he saw (the pictures of Abraham and Ishmael carrying the arrows of divination, he said, "May Allah curse them (i.e. the Quraish)! By Allah, neither Abraham nor Ishmael practiced divination by arrows."