The Prophet (may Allah's peace and blessings be upon him) saw a man moving around in Paradise because of cutting a tree that was harming Muslims. Another narration of the Hadīth says that a man was admitted to Paradise and Allah granted him forgiveness because of a branch that he removed from the path of Muslims, whether the branch was dangling from a tree and harming their heads or lying on the road and harming their legs. He removed it away from their path, so Allah was thankful to him for doing that and He admitted him into Paradise.