Sayyiduna Amr bin Hamiq Khuzai (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "When Allah Almighty intends good for a servant, He makes him pure (i.e., He grants him a good reputation) before his death." It was asked: What is meant by making him pure? The Prophet Muhammad (peace and blessings be upon him) said: "Before his death, righteous deeds are opened up for him, until that person becomes pleased with them."
Hadith Referenceصحیح ابن حبان / كتاب البر والإحسان / 343
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - وهو مكرر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح، موسى بن عبد الرحمن المسروقي، روى له النسائي والترمذي وابن ماجة، وهو ثقة، ومن فوقه من رجال الصحيح، وهو مكرر ما قبله.