In one narration the wording is: Sayyiduna Ali (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) sent a man of the Ansar to level every grave and to deface every idol. He said: "O Messenger of Allah, I dislike entering the houses of my people." Sayyiduna Ali (may Allah be pleased with him) narrates: So the Prophet (peace and blessings be upon him) sent me. After this, the narrator mentioned a hadith similar to the previous one. Imam Ahmad recorded the first narration, and his son Abdullah recorded the second.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب اللباس / 8888