It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that he said: "The Messenger of Allah (peace and blessings be upon him) was present at a funeral, and he (peace and blessings be upon him) said: 'Which of you will go to Madinah and not leave any idol there without breaking it, nor any image without effacing it, nor any raised grave without levelling it (with the ground)?' So a man from among the people stood up and said: 'O Messenger of Allah! I (will do this).' The man set off, but it seems he felt afraid of the people of Madinah, so he came back (without doing anything). Then Sayyiduna Ali (may Allah be pleased with him) went, and (after carrying out all the orders) he came back and said: 'O Messenger of Allah! I did not come back to you until I had left no idol there without breaking it, no grave without levelling it, and no image without effacing it.' Then the Prophet (peace and blessings be upon him) said: 'Whoever returns to making anything of these -' Then he (peace and blessings be upon him) said severe words about him (the one who makes them again), and he said to Sayyiduna Ali (may Allah be pleased with him): 'O Ali! Do not be one who stirs up trials (fitnah), nor one who is arrogant, nor a merchant, except a merchant of good, for those are the people who procrastinate in (righteous) deeds.'" Imam Abu Dawud al-Tayalisi recorded it with a da'if (weak) chain because some of its narrators are unknown, while Imam Ibn Abi Shaybah recorded it with a chain whose narrators are thiqat (trustworthy); and this hadith is transmitted in abridged form in Sahih Muslim, Sunan Abi Dawud and Sunan al-Nasa'i.
Hadith Takhrij«رواه أبو داود الطيالسي بسند ضعيف؛ لجهالة بعض رواته، وابن أبي شيبة بسند رجاله ثقات، وهو في صحيح مسلم وأبي داود والنسائي باختصار» «أخرجه صحيح مسلم برقم: 969، وأخرجه سنن الترمذي برقم: 1049، وأخرجه سنن النسائي برقم: 2031، وأخرجه سنن أبي داود برقم: 3218، وأخرجه مسند أحمد برقم: 1174، وأخرجه مسند البزار برقم: 576، 870، 911، وأخرجه المعجم الأوسط للطبراني برقم: 2080، 3436، وأخرجه المعجم الصغير للطبراني برقم: 135»