Abu Hurairah reported,

The Messenger of Allah ﷺ said, "A man passed by the branch of a tree lying across a road and said, 'By Allah, I will remove this from the path of the Muslims so it does not harm them.' For this he was admitted into Paradise."

Muslim 6670

Sahih

حدثني زهير بن حرب حدثنا جرير عن سهيل عن أبيه

عن أبي هريرة قال

قال رسول الله ﷺ مر رجل بغصن شجرة على ظهر طريق فقال والله لأنحين هذا عن المسلمين لا يؤذيهم فأدخل الجنة

مسلم 6670صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Virtue of removing harm from the road
Numbering
Darussalam 6670
Muslim 6670