The Prophet ﷺ said, "Actions are judged by their endings."
أن النبي ﷺ قال: إنما الأعمال بالخواتيم.
No references are available.
Ibn Hibban narrated it in his Sahih (340) from Abdullah bin Salih Bukhari in Baghdad, he said, Hasan bin Ali Hulwani told us, he said, Naeem bin Hammad told us, he said, Abdul-Aziz bin Abu Hazim told us, from Hisham bin Urwa, from his father, from Ayesha, and he mentioned it.Its isnad is hasan because of Naeem bin Hammad, who is Ibn Muawiya bin Harith Khuzai, Abu Abdullah Marwazi. Imam Ahmad, Ibn Main, Ajli, and others deemed him trustworthy, though some criticized certain hadiths he narrated. Ibn Adi traced these in al-Kamil (7/2482–2485) and said, "Most of what he was criticized for is what I have mentioned, and I hope the rest of his hadith is sound."The hadith of Ayesha is not among what Ibn Adi mentioned as being criticized regarding Naeem bin Hammad. It is further corroborated by the hadith of Muawiya that follows.