Sayyidah Aishah Siddiqah (may Allah be pleased with her) relates that the Prophet (peace and blessings be upon him) said: "A man keeps doing the deeds of the people of Paradise while in the Preserved Tablet his name is among the people of Hell, and then he dies and goes to Hell. And a person keeps doing the deeds of the people of Hell, while in the Preserved Tablet his name is among the people of Paradise; then, before he dies, the man turns and begins doing the deeds of the people of Paradise, and dies in that state and enters Paradise."
Ahmad and Abu Ya'la recorded it with several chains, and some of the chains of both have narrators who are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب القدر / 11918
Hadith Gradingمحدثین:إسنادہ صحیح
Hadith Takhrij«اخرجه ابو يعلى فى المسند (4668) اخرجه احمد فى المسند (107/6) ، أخرجه مسند أحمد برقم: 24241»