The Messenger of Allah ﷺ said, "A man may perform the deeds of the people of Paradise for a long time, then his deeds are sealed with the deeds of the people of the Fire. And a man may perform the deeds of the people of the Fire for a long time, then his deeds are sealed with the deeds of the people of Paradise."
حدثنا قتيبة بن سعيد حدثنا عبد العزيز يعني ابن محمد عن العلاء عن أبيه
أن رسول الله ﷺ قال إن الرجل ليعمل الزمن الطويل بعمل أهل الجنة ثم يختم له عمله بعمل أهل النار وإن الرجل ليعمل الزمن الطويل بعمل أهل النار ثم يختم له عمله بعمل أهل الجنة