Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said:
لَقَدْ رَأَيْتُ رَجُلاً يَتَقَلَّبُ فِي الْجَنَّةِ فِي شَجَرَةٍ قَطَعَهَا مِنْ ظَهْرِ الطَّرِيقِ كَانَتْ تُؤْذِي النَّاسَ
Verily, I saw a man enjoying himself in Paradise because he cut down a tree in the road that used to harm people.
Source: Sahih Muslim