It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: A person performs the deeds of the righteous for a long time, but his end is upon the deeds of the people of Hell, and he enters Hell. While another person performs the deeds of the sinful for a long time, but his end is upon the deeds of the people of Paradise, and he enters Paradise.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 10286