The Prophet (ﷺ) ordered Umar ibn al-Khattab who was in al-Batha' at the time of the conquest (of Makkah) to visit the Ka'bah and obliterate all images in it. The Prophet (ﷺ) did not enter it until all the images were obliterated.
Sunan Abi Dawud Book 34, Hadith 137