The Messenger of Allah ﷺ said, "Excellent, excellent! How heavy upon the scale are five things. There is no god but Allah, Allah is greatest, glory be to Allah, praise be to Allah, and a righteous child who dies and whose parents seek their reward with Allah."He also said, "Excellent, excellent are five things. Whoever meets Allah with firm certainty in them will enter Paradise. Belief in Allah, in the Last Day, in Paradise and the Fire, in resurrection after death, and in the reckoning."
حدثنا عفان حدثنا أبان حدثنا يحيى بن أبي كثير عن زيد عن أبي سلام
أن رسول الله ﷺ قال بخ بخ خمس ما أثقلهن في الميزان لا إله إلا الله والله أكبر وسبحان الله والحمد لله والولد الصالح يتوفى فيحتسبه والداه وقال بخ بخ لخمس من لقي الله مستيقنا بهن دخل الجنة يؤمن بالله واليوم الآخر وبالجنة والنار والبعث بعد الموت والحساب
Its chain of transmission is sahih. Aban is Ibn Yazid Attar, and Yahya bin Abu Kathir is Tai, and both are trustworthy. Zayd is Ibn Salam bin Abu Salam, who is trustworthy and well known, and his hadith is found in Muslim. The hadith was narrated by Ibn Hibban 578, number 2328 Mawarid, from Abu Salma, the shepherd of the Messenger of Allah ﷺ, and Hakim graded it sahih in Mustadrak 1/551, and Dhahabi agreed with him. Its first part was reported by Tayalisi, 2/55, number 2150 Minha, from Abu Umama.