Sayyiduna Abu al-Darda' (may Allah be pleased with him) says that the Prophet (peace and blessings be upon him) said: "Every word that the son of Adam speaks is written down. When he commits a wrong and loves to repent to Allah, he comes to an elevated place, spreads out his hands to Allah in supplication, and then says: 'I repent; I will never commit this sin again.' He is forgiven, as long as he does not do it again."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20564