It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Remorse is repentance."
Abd al-Rahman bin Mu'awiyah (may Allah have mercy on him) says: "Harmalah bin Yahya (may Allah have mercy on him) conveyed this hadith to me through Khalid bin Abd al-Salam (may Allah have mercy on him), and he told me that he had written it down from him."