وعن أَبي موسى - رضي الله عنه: أنَّ رسول الله - صلى الله عليه وسلم - قَالَ: «إِذَا مَاتَ وَلَدُ العَبْدِ، قَالَ اللهُ تَعَالَى لِمَلائِكَتِهِ: قَبَضْتُمْ وَلَدَ عَبْدِي؟ فيقولونَ: نَعَمْ. فيقولُ: قَبَضْتُمْ ثَمَرَة فُؤَادِهِ؟ فيقولونَ: نَعَمْ. فيقولُ: مَاذَا قَالَ عَبْدِي؟ فيقولونَ: حَمدَكَ وَاسْتَرْجَعَ. فيقول اللهُ تَعَالَى: ابْنُوا لِعَبْدِي بَيْتًا في الجَنَّةِ، وَسَمُّوهُ بَيْتَ الحَمْدِ». رواه الترمذي، وقال: «حديث حسن».
It is narrated from Sayyiduna Abu Musa (al-Ash'ari) (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When a servant's child dies, Allah Almighty says to His angels: 'Have you taken the soul of My servant's child?' They say: 'Yes.' He says: 'Have you taken the fruit of his heart?' They say: 'Yes.' He says: 'What did My servant say?' They say: 'He praised You and said: We belong to Allah and to Him we shall return.' Then Allah Almighty says: 'Build for My servant a house in Paradise and name it the House of Praise.'"
(Narrated by al-Tirmidhi, who said: This hadith is hasan)
Related hadith on this topic
Explanation & Benefits
Shaykh Dr. Abdur Rahman Freywai
Explanation: ➊
By "child" is meant offspring in general, whether male or female.
Source: Sunan al-Tirmidhi – Majlis ‘Ilmi Dar al-Da‘wah, New Delhi Edition, Page: 1021