A man may spend a long stretch of time doing the deeds of the people of Paradise, and then Allah seals his life with the deeds of the people of the Fire, so He places him among the people of the Fire. And a man may spend a long stretch of time doing the deeds of the people of the Fire, and then Allah seals his deeds with the deeds of the people of Paradise, so He places him among the people of Paradise and admits him into Paradise.
وبإسناده قال إن الرجل ليعمل الزمان الطويل بأعمال أهل الجنة ثم يختم الله له بأعمال أهل النار فيجعله من أهل النار وإن الرجل ليعمل الزمان الطويل بأعمال أهل النار ثم يختم الله له عمله بأعمال أهل الجنة فيجعله من أهل الجنة فيدخله الجنة