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."[Al-Bukhari and Muslim].
App reference: Book 7, Hadith 31
Arabic/English book reference: Book 7, Hadith 924