It is narrated from a Companion (may Allah be pleased with him) that he heard the Messenger of Allah (peace and blessings be upon him) say: "Excellent, excellent! (Glad tidings) for these five words, how heavy they are in the Scale of deeds: 'Subhanallah' (Allah is free of all imperfection), 'wal-hamdu lillah' (and all praise belongs to Allah), 'wa la ilaha illallah' (and there is no god but Allah), 'wallahu akbar' (and Allah is the Greatest), and a righteous child who dies and whose father bears it patiently, hoping for reward (in the face of this grief). And there are five things such that whoever meets Allah Almighty with firm certainty in them, Paradise has become binding for him: one who bears witness that there is no god but Allah and that Muhammad (peace and blessings be upon him) is His servant and Messenger, and who has complete certainty in death, the reckoning, Paradise and Hell."
Imam Abu Ya'la al-Mawsili (may Allah have mercy on him) narrated from Sayyiduna Abu Salma (may Allah be pleased with him), who was the shepherd of the Messenger of Allah (peace and blessings be upon him), that he said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Excellent, excellent! How weighty five things are in the Scale: 'La ilaha illallah', 'Subhanallah', 'wal-hamdu lillah' and 'wallahu akbar', and the righteous child of a Muslim who dies and he bears it patiently, hoping for reward."
I (al-Busiri) say: Imam al-Nasa'i (may Allah have mercy on him) narrated it in 'Amal al-Yawm wa al-Laylah via al-Walid bin Muslim.
Imam Ahmad bin Hanbal (may Allah have mercy on him) also narrated it in his Musnad.
It has also been narrated from a freed slave of the Messenger of Allah (peace and blessings be upon him) (the mawla of the Messenger of Allah, peace and blessings be upon him, may Allah be pleased with him).
All the narrators of the chain of this hadith are thiqat (trustworthy), and it also has a supporting narration (shahid) from the narration of Sayyiduna Abu Umamah al-Bahili (may Allah be pleased with him), which, Allah willing, will come in the Book of Dhikr.