Jabir bin Abdullah reported,

Jabir reported that the Messenger of Allah ﷺ said to me, "If the wealth of Bahrain comes, I will give you this much," scooping with both hands three times. But it did not arrive until the Prophet ﷺ passed away.Abu Bakr then ordered a crier to announce, "Whoever had a promise or a debt owed to him by the Prophet ﷺ, let him come to us."So I went to him and said, "The Prophet ﷺ promised me something." He scooped out for me three handfuls.

Azami 6002

Sahih

عن جابر قال

قال لي رسول الله ﷺ لو جاء مال البحرين أعطيتك هكذا ثلاثا فلم يقدم حتى توفي النبي ﷺ، فأمر أبو بكر مناديا فنادى: من كان له عند النبي ﷺ عدة أو دين فليأتنا. فأتيته، فقلت: إن النبي ﷺ وعدني، فحثا لي ثلاثا.

الأعظمي 6002صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Gifts, presents, umra, and ruqba
Section
If one gives a gift or makes a promise then dies before fulfilling it, it is permissible for those after him to fulfill it
Numbering
Jami al-Kamil 6002 (2nd edition)
Azami 6002