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.
bayhaqi:17321Abū Bakr > Jarīr > Mughīrah > Ḥammād > Ibrāhīm

[Machine] About Ibrahim, regarding a man who takes a detour and becomes jealous but then returns repenting - his punishment is imposed upon him, and his repentance is between him and his Lord. It is narrated from Ali ibn Abi Talib about accepting the repentance of a fighter, contrary to the opinion of those [others]. And Allah knows best.  

البيهقي:١٧٣٢١قَالَ وَحَدَّثَنَا أَبُو بَكْرٍ ثنا جَرِيرٌ عَنْ مُغِيرَةَ عَنْ حَمَّادٍ

عَنْ إِبْرَاهِيمَ فِي الرَّجُلِ إِذَا قَطَعَ الطَّرِيقَ وَأَغَارَ ثُمَّ رَجَعَ تَائِبًا أُقِيمَ عَلَيْهِ الْحَدُّ وَتَوْبَتُهُ فِيمَا بَيْنَهُ وَبَيْنَ رَبِّهِ وَرُوِيَ عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ ؓ فِي قَبُولِ تَوْبَةِ الْمُحَارِبِ بِخِلَافِ قَوْلِ هَؤُلَاءِ وَاللهُ أَعْلَمُ