When the Prophet (ﷺ) saw pictures in the Ka`ba, he did not enter it till he ordered them…

Sahih al-Bukhari Book 60 Hadith 27

Sahih al-Bukhari #3352

Prophets 60:27

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

Chapter: The Statement of Allah Taa'la: "...And Allah did take Ibrahim as a Khalil."

Grade: Sahih