51.18 If somebody gives another a present and dies before the gift reaches the other person
٥١۔١٨ باب إِذَا وَهَبَ هِبَةً أَوْ وَعَدَ ثُمَّ مَاتَ قَبْلَ أَنْ تَصِلَ إِلَيْهِ
[Machine] And 'Ubaydah said: If the one who received the gift dies while it is still intact and undistributed, then it belongs to his heirs. But if it was already distributed, then it belongs to the heirs of the one who gave it. And Al-Hasan said: Whichever of them dies first, it belongs to the heirs of the one who received the gift when the Messenger took it.
وَقَالَ عَبِيدَةُ إِنْ مَاتَ وَكَانَتْ فُصِلَتِ الْهَدِيَّةُ وَالْمُهْدَى لَهُ حَيٌّ فَهْيَ لِوَرَثَتِهِ، وَإِنْ لَمْ تَكُنْ فُصِلَتْ فَهْيَ لِوَرَثَةِ الَّذِي أَهْدَى. وَقَالَ الْحَسَنُ أَيُّهُمَا مَاتَ قَبْلُ فَهْيَ لِوَرَثَةِ الْمُهْدَى لَهُ. إِذَا قَبَضَهَا الرَّسُولُ.