Sunan Ibn Majah · Hadith 2702
The Chapters on Legal Punishments - كتاب الحدود
حدثنا هارون بن عبد الله الحمال، حدثنا حجاج بن محمد، حدثنا يونس بن أبي إسحاق، عن أبي إسحاق، عن أبي جحيفة، عن علي، قال قال رسول الله صلى الله عليه وسلم " من أصاب في الدنيا ذنبا فعوقب به فالله أعدل من أن يثني عقوبته على عبده ومن أذنب ذنبا في الدنيا فستره الله عليه فالله أكرم من أن يعود في شىء قد عفا عنه " .
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.”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).