Sayyiduna Abdullah bin Salam (may Allah be pleased with him) says: Shall I not narrate to you something on the authority of "a Messenger Prophet" or "a revealed Book"? (It is this:) "If a servant commits every sin and then repents to Allah Almighty a day before his death, Allah Almighty accepts his repentance."
Al-Tabarani recorded it, and its narrators are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب التوبة / 17507