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. (Using translation from Abū Dāʾūd 4156)
أَنَّ رَسُولَ اللهِ ﷺ أَمَرَ عُمَرَ بْنَ الْخَطَّابِ زَمَانَ الْفَتْحِ أَنْ يَأْتِيَ الْبَيْتَ وَهُوَ بِالْبَطْحَاءِ فَيَمْحُوَ كُلَّ صُورَةٍ فِيهِ وَلَمْ يَدْخُلْهُ حَتَّى مُحِيَتْ كُلُّ صُورَةٍ فِيهِ