Abdullah bin Umar reported,

Umar رضي الله عنه acquired some property at Khaybar, so he came to the Prophet ﷺ and informed him about it.The Prophet ﷺ said, "If you wish, you may give it in charity."So he gave it in charity to be distributed among the poor, the needy, close relatives, and guests.

Bukhari 2773

Sahih

حدثنا أبو عاصم حدثنا ابن عون عن نافع

عن ابن عمر

أن عمر رضي الله عنه وجد مالا بخيبر فأتى النبي ﷺ فأخبره قال إن شئت تصدقت بها فتصدق بها في الفقراء والمساكين وذي القربى والضيف

البخاري 2773صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Bequests
Chapter
Endowment for the rich, the poor, and the guest
Numbering
Darussalam 2773
Bukhari 2773