Sahih Muslim
The Book of Virtue, Good Manners and Joining of the Ties of Relationship (Kitab Al-Birr was-Salat-I-wal-Adab)
Book Number: 032 / Hadith Number: 6341
Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: A person while walking along the path saw the branches of a tree lying there. He said: By Allah, I shall remove these from this so that these may not do harm to the Muslims, and he was admitted to Paradise.