Sahih Bukhari Volume 004, Book 051, Hadith Number 034.
Hadith Section/Book: Sahih Bukhari Sahih Bukhari Book 51. Wills and Testaments (Wasaayaa)
Narated By Ibn 'Umar : Umar got some property in Khaibar and he came to the Prophet and informed him about it. The Prophet said to him, "If you wish you can give it in charity." So 'Umar gave it in charity (i.e. as an endowment) the yield of which was to be used for the good of the poor, the needy, the kinsmen and the guests.