Al-Mustanir bin Akhdar bin Mu'awiyah narrates this account from his father: I was passing along a road with Sayyiduna Ma'qil bin Yasar (may Allah be pleased with him). We passed by something harmful, so he removed it and moved it to one side of the road. Then I saw another harmful thing, so I took hold of it and moved it to one side. He took hold of my hand and said: O my nephew! Why did you do that? I said: O my uncle! I saw you doing this, so I did the same. He said: I heard the Prophet (peace and blessings be upon him) say: "Whoever removes something harmful from the road of the Muslims, a good deed is recorded for him; and whoever has a good deed accepted will enter Paradise."
Imam al-Tabarani recorded this narration in al-Mu'jam al-Kabir. Imam al-Mizzi says: The correct version is that it is from al-Mustanir bin Akhdar bin Mu'awiyah bin Qurrah from his grandfather, as Imam al-Bukhari (may Allah have mercy on him) narrated it in Kitab al-Adab. If it is as Imam al-Mizzi stated, then its chain is hasan (good), if Allah wills; and if its chain mentions that he narrated it from his father Akhdar, then I have not found anyone who mentions Akhdar. And Allah knows best.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزكاة / 4748