Sahih al-Bukhari 7448
Narrated Usama:
A son of one of the daughters of the Prophet was dying, so she sent a person to call the Prophet. He sent (her a message), "What ever Allah takes is for Him, and whatever He gives is for Him, and everything has a limited fixed term (in this world) so she should be patient and hope for Allah's reward." She then sent for him again, swearing that he should come. Allah's Apostle got up, and so did Mu'adh bin Jabal, Ubai bin Ka'b and 'Ubada bin As-Samit. When he entered (the house), they gave the child to Allah's Apostle while its breath was disturbed in his chest. (The sub-narrator said: I think he said, "...as if it was a water skin.") Allah's Apostle started weeping whereupon Sa'd bin 'Ubada said, "Do you weep?" The Prophet ﷺ said, "Allah is merciful only to those of His slaves who are merciful (to others)."
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا عَبْدُ الْوَاحِدِ، حَدَّثَنَا عَاصِمٌ، عَنْ أَبِي عُثْمَانَ، عَنْ أُسَامَةَ، قَالَ كَانَ ابْنٌ لِبَعْضِ بَنَاتِ النَّبِيِّ ﷺ يَقْضِي، فَأَرْسَلَتْ إِلَيْهِ أَنْ يَأْتِيَهَا فَأَرْسَلَ " إِنَّ لِلَّهِ مَا أَخَذَ، وَلَهُ مَا أَعْطَى، وَكُلٌّ إِلَى أَجَلٍ مُسَمًّى، فَلْتَصْبِرْ وَلْتَحْتَسِبْ ". فَأَرْسَلَتْ إِلَيْهِ فَأَقْسَمَتْ عَلَيْهِ فَقَامَ رَسُولُ اللَّهِ ﷺ وَقُمْتُ مَعَهُ وَمُعَاذُ بْنُ جَبَلٍ وَأُبَىُّ بْنُ كَعْبٍ وَعُبَادَةُ بْنُ الصَّامِتِ، فَلَمَّا دَخَلْنَا نَاوَلُوا رَسُولَ اللَّهِ ﷺ الصَّبِيَّ وَنَفْسُهُ تَقَلْقَلُ فِي صَدْرِهِ ـ حَسِبْتُهُ قَالَ ـ كَأَنَّهَا شَنَّةٌ، فَبَكَى رَسُولُ اللَّهِ ﷺ فَقَالَ سَعْدُ بْنُ عُبَادَةَ أَتَبْكِي فَقَالَ " إِنَّمَا يَرْحَمُ اللَّهُ مِنْ عِبَادِهِ الرُّحَمَاءَ ".