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