It is narrated with the same chain that the Noble Prophet (peace and blessings be upon him) said: A man found a thorny branch on the path of the Muslims, so he thought to himself, "I will remove it; perhaps Allah Almighty will forgive me due to its blessing." So he removed it, and due to its blessing, he was forgiven and entered Paradise.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 10289