It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that he said: The Prophet (peace and blessings be upon him) said to me: "Shall I not teach you words which, if you say them, Allah will forgive you, even though you have (already) been forgiven? (The words are:) 'There is no god worthy of worship except Allah, the Most Forbearing, the Most Generous; there is no god worthy of worship except Allah, the Lord of the Mighty Throne; all praise is for Allah, the Lord of the worlds.'"
Related hadith on this topic