Hadith 1904
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: مَرَّ رَجُلٌ بِغُصْنِ شَجَرَةٍ عَلَى ظَهْرِ طَرِيقٍ فَقَالَ: لِأُنَحِّيَنَّ هَذَا عَنْ طَرِيقِ الْمُسلمين لَا يؤذيهم فَأدْخل الْجنَّة
Abu Huraira reported God’s messenger as saying, “A man who came upon a branch of a tree overhanging a road and decided to move if from the way of Muslims to keep it from annoying them was brought into paradise." (Bukhari and Muslim.)