Hadithcore
Riyad as-Salihin, 924

Usamah bin Zaid (May Allah be pleased with them) reported:

A daughter of the Prophet (ﷺ) sent a message to him that her son was at his last breath, and requested him to come to her. The Messenger of Allah (ﷺ) sent back the informer saying: "To Allah belongs what He takes and what He gives, and everything has a limited period (in this world). So ask her to endure patiently, and expect the reward of Allah." <b>[Al-Bukhari and Muslim]</b>.

وعن أسامة بن زيد رضي الله عنهما قال‏:‏ أرسلت إحدي بنات النبي صلى الله عليه وسلم الله عليه وسلمى الله عليه وسلم الله عليه وسلم إليه تدعوه وتخبره أن صبياً لها -أو ابناً- في الموت فقال للرسول‏:‏ ارجع إليها فأخبرها أن لله تعالي ما أخذ وله ما أعطى، وكل شئ عنده بأجل مسمى، فمرها، فلتصبر ولتحتسب” وذكر تمام الحديث‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏

References1 variant
In-Book Reference
Book 6, Hadith 31
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) We are urged to stick to the Prophetic supplication while offering condolences: “What Allah takes belongs to Him and what He gives belongs to Him, and everything with Him has a specified term.” We should give up the newly introduced phrases which have become common.<br> 2) The best thing to do in offering condolences is to adhere to what is reported from the Prophet (may Allah’s peace and blessings be upon him) and abandon what people have newly introduced in this regard.<br> 3) The Prophet (may Allah’s peace and blessings be upon him) was merciful towards the Ummah and would instruct them to be patient and expect divine reward.
Related hadiths2
Compare isnād across 2 related chains →