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)
أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللهِ يَقُولُ إِنَّ النَّبِيَّ ﷺ أَمَرَ عُمَرَ بْنَ الْخَطَّابِ يَوْمَ الْفَتْحِ وَهُوَ بِالْبَطْحَاءِ أَنْ يَأْتِيَ الْكَعْبَةَ فَيَمْحُوَ كُلَّ صُورَةٍ فِيهَا وَلَمْ يَدْخُلِ الْبَيْتَ حَتَّى مُحِيَتْ كُلُّ صُورَةٍ فِيهِ