Musnad Ahmad 657, 658
It was narrated that ‘Ali (رضي الله عنه) said:
The Messenger of Allah (ﷺ) was at a funeral and he said: `which of you will go to the city and not leave in it any idol but he will break it, or any grave but he will level it, or any image but he will spoil it?` A man said: “I will, O Messenger of Allah (ﷺ).` So he went, but he was afraid of the people of the city, so he came back, `Ali (رضي الله عنه) said: I will go, O Messenger of Allah (ﷺ). He said: “Go.` So he went then he came back and said: O Messenger of Allah (ﷺ). I did not leave in it any idol but I broke it, or any grave but i levelled it, or any image but I spoiled it. The Messenger of Allah (ﷺ) said: “Whoever goes back to doing any of that has disbelieved in what was revealed to Muhammad.` Then he said: `Do not be a cause of division or show off or be a merchant except a good one, for those are the ones who are lagging behind in good deeds.`


It was narrated from Al-Hakam that A man from Basra whom the people of Basra called Abu Muwarri’ and the people of Koofah called Abu Muhammad, said: The Messenger of Allah (ﷺ) was at a funeral... and he mentioned a similar Hadeeth, but he did not say that ‘Ali said: `or any image but he will smear something over it.` And he said: I did not come to you, O Messenger of Allah (ﷺ), until I did not leave any image but i spoiled it.` And he said: `Do not be a cause of division or show off.`
حَدَّثَنَا مُعَاوِيَةُ، حَدَّثَنَا أَبُو إِسْحَاقَ، عَنْ شُعْبَةَ، عَنِ الْحَكَمِ، عَنِ أَبِي مُحَمَّدٍ الْهُذَلِيِّ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي جَنَازَةٍ فَقَالَ أَيُّكُمْ يَنْطَلِقُ إِلَى الْمَدِينَةِ فَلَا يَدَعُ بِهَا وَثَنًا إِلَّا كَسَرَهُ وَلَا قَبْرًا إِلَّا سَوَّاهُ وَلَا صُورَةً إِلَّا لَطَّخَهَا فَقَالَ رَجُلٌ أَنَا يَا رَسُولَ اللَّهِ فَانْطَلَقَ فَهَابَ أَهْلَ الْمَدِينَةِ فَرَجَعَ فَقَالَ عَلِيٌّ رَضِيَ اللَّهُ عَنْهُ أَنَا أَنْطَلِقُ يَا رَسُولَ اللَّهِ قَالَ فَانْطَلِقْ فَانْطَلَقَ ثُمَّ رَجَعَ فَقَالَ يَا رَسُولَ اللَّهِ لَمْ أَدَعْ بِهَا وَثَنًا إِلَّا كَسَرْتُهُ وَلَا قَبْرًا إِلَّا سَوَّيْتُهُ وَلَا صُورَةً إِلَّا لَطَّخْتُهَا ثُمَّ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ عَادَ لِصَنْعَةِ شَيْءٍ مِنْ هَذَا فَقَدْ كَفَرَ بِمَا أُنْزِلَ عَلَى مُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ثُمَّ قَالَ لَا تَكُونَنَّ فَتَّانًا وَلَا مُخْتَالًا وَلَا تَاجِرًا إِلَّا تَاجِرَ الْخَيْرِ فَإِنَّ أُولَئِكَ هُمْ الْمَسْبُوقُونَ بِالْعَمَلِ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنِ الْحَكَمِ عَنْ رَجُلٍ مِنْ أَهْلِ الْبَصْرَةِ قَالَ وَيُكَنُّونَهُ أَهْلُ الْبَصْرَةِ أَبَا مُوَرِّعٍ قَالَ وَأَهْلُ الْكُوفَةِ يُكَنُّونَهُ بِأَبِي مُحَمَّدٍ قَالَ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي جَنَازَةٍ فَذَكَرَ الْحَدِيثَ وَلَمْ يَقُلْ عَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ وَقَالَ وَلَا صُورَةً إِلَّا طَلَخَهَا فَقَالَ مَا أَتَيْتُكَ يَا رَسُولَ اللَّهِ حَتَّى لَمْ أَدَعْ صُورَةً إِلَّا طَلَخْتُهَا وَقَالَ لَا تَكُنْ فَتَّانًا وَلَا مُخْتَالًا‏.‏