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