The Messenger of Allah ﷺ entered Makkah in the Year of the Conquest, and around the Kaabah were three hundred and sixty idols. The Prophet ﷺ began striking them with a stick he held in his hand, and sometimes the narrator said "with a piece of wood," reciting, "Truth has come and falsehood has perished. Indeed, falsehood is ever bound to perish" [Isra 17:81], "Truth has come, and falsehood can neither originate anything nor restore it" [Saba 34:49].He said, this is a hasan sahih hadith, and there is also a narration on this subject from Ibn Umar.
حدثنا ابن أبي عمر حدثنا سفيان عن ابن أبي نجيح عن مجاهد عن أبي معمر
دخل رسول الله ﷺ مكة عام الفتح وحول الكعبة ثلاث مائة وستون نصبا فجعل النبي ﷺ يطعنها بمخصرة في يده وربما قال بعود ويقول {جاء الحق وزهق الباطل إن الباطل كان زهوقا} جاء الحق وما يبدئ الباطل وما يعيد قال هذا حديث حسن صحيح وفيه عن ابن عمر
Agreed upon by Bukhari and Muslim. Muslim narrated it in the Book of Jihad, chapter on removing idols from around the Kaaba, no. 1781, from Muhammad bin Abu Umar, and Bukhari, no. 4720, from the hadith of Sufyan bin Uyayna, with the same wording.On this subject there is also a report from Ibn Umar, in Ibn Hibban, no. 1702, and Tabarani in Al-Kabir, 12/452, no. 13643.