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