(28) باب مَنْ أَخَذَ الْغُصْنَ وَمَا يُؤْذِي النَّاسَ فِي الطَّرِيقِ فَرَمَى بِهِ
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "While a man was on the way, he found a thorny branch of a tree there on the way and removed it. Allah thanked him for that deed and forgave him."
Reference: Sahih al-Bukhari 2472
In-book reference: Book 46, Hadith 33
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 43, Hadith 652