Language:
كتاب الهبة وفضلها والتحريض عليها
51  
Gifts
(18)
Chapter: If somebody gives another a present and dies before the gift reaches the other person
(18)
باب إِذَا وَهَبَ هِبَةً أَوْ وَعَدَ ثُمَّ مَاتَ قَبْلَ أَنْ تَصِلَ إِلَيْهِ
Sahih al-Bukhari 2598

Narrated Jabir:

The Prophet (ﷺ) said to me, "I will give you so much (the Prophet (ﷺ) pointed thrice with his hands) when funds of Bahrain will come to me." But the Prophet (ﷺ) died before the money reached him. (When it came) Abu Bakr ordered an announcer to announce that whoever had a money claim on the Prophet (ﷺ) or was promised to be given something, should come to Abu Bakr. I went to Abu Bakr and told him that the Prophet (ﷺ) had promised to give me so much. On that Abu Bakr gave me three handfuls (of money).

حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُفْيَانُ، حَدَّثَنَا ابْنُ الْمُنْكَدِرِ، سَمِعْتُ جَابِرًا ـ رضى الله عنه ـ قَالَ قَالَ لِي النَّبِيُّ صلى الله عليه وسلم ‏ "‏ لَوْ جَاءَ مَالُ الْبَحْرَيْنِ أَعْطَيْتُكَ هَكَذَا ثَلاَثًا ‏"‏‏.‏ فَلَمْ يَقْدَمْ حَتَّى تُوُفِّيَ النَّبِيُّ صلى الله عليه وسلم، فَأَمَرَ أَبُو بَكْرٍ مُنَادِيًا فَنَادَى مَنْ كَانَ لَهُ عِنْدَ النَّبِيِّ صلى الله عليه وسلم عِدَةٌ أَوْ دَيْنٌ فَلْيَأْتِنَا‏.‏ فَأَتَيْتُهُ فَقُلْتُ إِنَّ النَّبِيَّ صلى الله عليه وسلم وَعَدَنِي‏.‏ فَحَثَى لِي ثَلاَثًا‏.‏
Reference : Sahih al-Bukhari 2598
In-book reference : Book 51, Hadith 32
USC-MSA web (English) reference : Vol. 3, Book 47, Hadith 770
  (deprecated numbering scheme)