Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) transmits this as a marfu' hadith: The Prophet (peace and blessings be upon him) said: "Whoever says: 'I declare the glory of Allah Almighty along with His praise, I seek forgiveness from Allah Almighty, and I repent to Him,'" the Prophet (peace and blessings be upon him) says: "these words are recorded just as he said them, and then they are hung upon the Throne. Whatever sin the person who said them commits, no such sin erases these words, until, when that person comes before Allah Almighty, these words will be sealed (and that person will be given their reward)."
Al-Tabarani recorded it; its chain contains a narrator, Malik bin Yahya bin Malik, who is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب التوبة / 17592
Hadith Gradingمحدثین:إسنادہ ضعیف
Hadith Takhrij«أخرجه المعجم الكبير للطبراني برقم: 12799»