It is narrated from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: "Repentance from sin is that after repenting, a person does not commit that sin again."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 4264
Hadith Gradingحکم دارالسلام:إسناده ضعيف، وقد روي مرفوعا وموقوفا، والصحيح وقفه، إبراهيم الهجري لين الحديث ، وعلي بن عاصم صدوق يخطئ ويصر على الخطأ.