It is narrated from Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "A man does the deeds of the people of Paradise as it appears to people, while he is of the people of Hell; and he does the deeds of the people of Hell as it appears to people, while he is of the people of Paradise. Deeds are judged only by their endings."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5778