Sunan Ibn Majah, Book 33, Hadith 26 (Ibn Majah 3684)

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."