Hadithcore
Mishkat al-Masabih, 3629

‘Ali reported the Prophet (ﷺ) as saying, “If anyone transgresses and receives his punishment in this world, God is too just to repeat the punishment to His servant in the next; and if anyone transgresses and God conceals it and forgives him, He is too generous to go back upon a thing He has forgiven.” Tirmidhi and Ibn Majah transmitted it, Tirmidhi saying this is a <i>gharib</i> tradition.

وَعَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ أَصَابَ حَدًّا فَعُجِّلَ عُقُوبَتَهُ فِي الدُّنْيَا فَاللَّهُ أَعْدَلُ مِنْ أَنْ يُثَنِّيَ عَلَى عَبْدِهِ الْعُقُوبَةَ فِي الْآخِرَة وَمن أصَاب حد فستره اللَّهُ عليهِ وَعَفَا عَنْهُ فَاللَّهُ أَكْرَمُ مِنْ أَنْ يَعُودَ فِي شَيْءٍ قَدْ عَفَا عَنْهُ» . رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ وَقَالَ التِّرْمِذِيُّ: هَذَا حَدِيثٌ غَرِيبٌ هَذَا الْبَاب خَال عَن الْفَصْل الثَّالِث

References1 variant
In-Book Reference
Book 17, Hadith 66