Ali bin Abu Talib reported,

Ali reported that the Messenger of Allah ﷺ said, "Shall I teach you words which, if you say them, you will be forgiven, even though you are already forgiven? There is no god but Allah, the Most High, the Magnificent. There is no god but Allah, the Forbearing, the Generous. Glory be to Allah, Lord of the Mighty Throne. All praise belongs to Allah, Lord of the worlds."

Azami 10831

Sahih

عن علي قال

قال رسول الله ﷺ: ألا أعلمك كلمات إذا قلتهن غفر لك، على أنه مغفور لك: لا إله إلا الله العلي العظيم، لا إله إلا الله الحليم الكريم، سبحان الله رب العرش العظيم، الحمد لله رب العالمين.

الأعظمي 10831صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications
Section
Virtue of tahlil, tasbih, tahmid, and takbir in general
Numbering
Jami al-Kamil 10831 (2nd edition)
Azami 10831