It has been authentically narrated upon the Messenger (صلى اللهُ عليه وسَلَّم) that he said: “Indeed the actions are by ones final action” (Collected by Tabaraani in Mu’jam Al Kabeer 6/143)
The hadeeth deals with a reality, and that is the importance of ones final action and the fact that ones final action is something of an indicator of ones outcome.
This affair is discussed in more detail in the following Hadeeth:
Upon the Authority of Abdullah ibn Amr (Radhiyallahu ‘Anhumaa) who said: ‘The Messenger of Allah came out to us (on an occasion) with two books in his hands and said:
”Do you know what these two books are?"
so we said ‘No Oh messenger of Allah! Unless you inform us! So He said concerning the book in his right hand:
“This is a book from the Lord of all the worlds, in it are the names of the people of paradise, their fathers names and their tribes. Their information is then summarised (at the end of the book) and concluded. There will be no increase (to the contents of the book) nor (decrease from it)."
Then he said concerning the book in his left hand: “This is a book from the lord of all the worlds in it are the names of the people of the hellfire, their fathers and their tribes. Their information is then summarized (at the end of the book) and concluded. There will be no increase (to the book) nor (decrease from it) ever."
(So) do that which is correct (and good) and come as close as possible to being upright and balanced.
For indeed the last action that a person of paradise will perform (in the life of this world) will be one of the actions of the people of paradise (i.e. a good action), regardless of the actions he performs (i.e. through his life).
And indeed the last action a person of the hellfire will perform (in the life of this world), will be one of the actions of the people of hellfire, regardless of the actions he performs (i.e. through his life).
Your lord has concluded (grouping) his servants. (Then he recited)
“A party in paradise and a party in Hellfire (Suratush Shuraa Vs “7)“
[Collected by Ahmad, At Tirmidhi and Nasaa’ie and declared ‘Saheeh’ By Shaykh al Albaani in Saheehul Jaami’ 88]
posted by our generous brother Aboo Bilal in the email forum, may Allah Reward him.