Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:10289ʿAbd al-Raḥman > Zuhayr > al-ʿAlāʾ from his father > Abū Hurayrah

[Machine] The Prophet ﷺ said, "While a man was walking on a path, he found a thorny branch. He said, 'I will lift it so that Allah may forgive me through it.' So he lifted it, and Allah forgave him through it and admitted him into paradise."  

أحمد:١٠٢٨٩حَدَّثَنَا عَبْدُ الرَّحْمَنِ عَنْ زُهَيْرٍ عَنِ الْعَلَاءِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ بَيْنَمَا رَجُلٌ يَمْشِي عَلَى طَرِيقٍ وَجَدَ غُصْنَ شَوْكٍ فَقَالَ لَأَرْفَعَنَّ هَذَا لَعَلَّ اللهَ ﷻ يَغْفِرُ لِي بِهِ فَرَفَعَهُ فَغَفَرَ اللهُ لَهُ بِهِ وَأَدْخَلَهُ الْجَنَّةَ  


See similar narrations below:

Collected by Suyūṭī
suyuti:12412a
Request/Fix translation

  

السيوطي:١٢٤١٢a

"بَينمَا رَجُلٌ يَمْشِي فِي طَريق أَبْصَرَ غُصنًا مِن شَوكٍ فَقَال: لأرفَعَنَّ هَذا الغصْنَ لَعَل اللهَ يَرْحَمُنِى فَغَفر اللهُ لهُ وَأَدْخَلَهُ الجَنَّةَ".  

[خ] البخاري [م] مسلم عن أبي هريرة