Sahih al-Bukhari 2772
صحيح البخاري#2772SahihNarrated Ibn `Umar:When `Umar got a piece of land in Khaibar, he came to the Prophet (ﷺ) saying, "I have got a piece of land, better than which I have never got. So what do you advise me regarding it?" The Prophet (ﷺ) said, "If you wish you can keep it as an endowment to be used for charitable purposes." So, `Umar gave the land in charity (i.e. as an endowment) on the condition that the land would neither be sold nor given as a present, nor bequeathed, (and its yield) would be used for the poor, the kinsmen, the emancipation of slaves, Jihad, and for guests and travelers; and its administrator could eat in a reasonable just manner, and he also could feed his friends without intending to be wealthy by its means
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 55:35