From Sahih Muslim (Hadith 6669):
Abu Huraira reported Allah's Messenger (ﷺ) as saying:While a person was going along the path he found a thorny branch upon it. He pushed it to a side and Allah approved (this action) of his and (as a mark of appreciation) granted him pardon
Reference: Muslim 6669