The Prophet ﷺ said, "A man may spend a portion of his life performing deeds such that, had he died doing them, he would have entered Paradise. Then before his death he changes and performs the deeds of the people of the Fire, so he dies and enters the Fire. And a man may spend a portion of his life performing deeds such that, had he died doing them, he would have entered the Fire. Then before his death he changes and performs the deeds of the people of Paradise, so he dies and enters Paradise."
حدثنا عفان حدثنا حماد قال أخبرنا حميد
أن النبي ﷺ قال إن الرجل ليعمل البرهة من عمره بالعمل الذي لو مات عليه دخل الجنة فإذا كان قبل موته تحول فعمل عمل أهل النار فمات فدخل النار وإن الرجل ليعمل البرهة من عمره بالعمل الذي لو مات عليه دخل النار فإذا كان قبل موته تحول فعمل بعمل أهل الجنة فمات فدخل الجنة