It was narrated from Ali that the Messenger of Allah (ﷺ) said:
"Whoever commits a sin in this world and is punished for it, Allah (STW) is too just to repeat the punishment for his slave (in the hereafter). And whoever commits a sin in this world and Allah conceals him, Allah is too generous to go back to something that He has pardoned." (PT)
English reference (PT): Vol. 3, Book 20, Hadith 2604 (PT)
Arabic reference (PT): Book 20, Hadith 2702 (PT)