Sahih al-Bukhari 4288
Ishaq (bin Mansur) told me that Abdus Samad narrated to us, (he said:) My father narrated to me that Ayyub (Sakhtiyani) told me. He narrated from Ikrimah, Ikrimah from Hazrat Ibn Abbas (ra) that when the Messenger of Allah (saw) came to Mecca, he refrained from entering the House of Allah, because inside it there were idols (of gods and goddesses). He gave an order concerning them and they were taken out. Then the images of Hazrat Abraham (as) and Hazrat Ishmael (as) were also taken out, in whose hands were divining arrows (for drawing lots). Seeing this, the Prophet (saw) said: “May Allah destroy these idolaters! They know that these two never drew lots with them.” After that he entered the House of Allah, proclaimed the Takbir in the (four) corners of the House of Allah and came out. He did not offer Prayer (Salat) there. (Like Abdus Samad) Ma'mar also narrated this hadith from Ayyub. And Wuhaib (bin Khalid) said thus: Ayyub told us. He narrated from Ikrimah, Ikrimah from the Prophet (saw).
AI-translated by Islam-Today
Book 48: Where did the Prophet (saws) fix the flag on the day of the conquest of Makkah?