Sunan Ibn Majah, Book 33, Hadith 26 (In-Book) ⓘ
It was narrated from Abu Hurayrah that the Prophet said: "There was a branch of a tree that annoyed the people. A man removed it, so he was admitted to Paradise."
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ " كَانَ عَلَى الطَّرِيقِ غُصْنُ شَجَرَةٍ يُؤْذِي النَّاسَ فَأَمَاطَهَا رَجُلٌ فَأُدْخِلَ الْجَنَّةَ " .
also referenced under: Hadith 3682 (Reference) & Volume 5, Book 33, Hadith 3682 (DarusSalam)