Hawzah News Agency – The merciful prophet of Islam (pbuh) says:
إنَّ الرّجُلَ لَيعْمَلُ الزَّمَنَ الطّويلَ بعَمَلِ أهْلِ الجَنّةِ، ثُمّ يُخْتَمُ لَهُ بعَمَلِ أهْلِ النّارِ.
'Verily a man may carry out the actions of the people of Paradise for a long period of time, but end his life with the actions of the people of the Hellfire.'
Source: Kanz al-Ummal, no. 545