Sayyiduna Ibn Abbas (may Allah be pleased with them both) says: The Messenger of Allah (peace and blessings be upon him) entered Makkah on the day of the conquest of Makkah while there were three hundred and sixty idols in the Ka'bah. Iblis had made their feet firm with solder. So the Prophet (peace and blessings be upon him) came and he had a stick with him, so he would go to each idol with it and it would fall on its face. The Prophet (peace and blessings be upon him) would say: “﴿JAA'AL-HAQQU WA ZAHAAQAL-BAATILU INNAL-BAATILA KAANA ZAHOOQAA﴾ Truth has come and falsehood has perished; indeed, falsehood is ever bound to perish.” Until he (peace and blessings be upon him) had passed by all of them.
Related hadith on this topic