Umar acquired some land at Khaybar and came to the Prophet ﷺ to seek his counsel about it.The Prophet ﷺ said, "If you wish, you may preserve the land itself and give its produce as charity."So Umar designated the land as an endowment, stipulating that it would not be sold, gifted, or inherited. He gave its produce in charity to the poor, to relatives, for freeing slaves, to the needy, to travelers, and to guests. There is no blame on whoever administers it if he eats from it in a reasonable manner or feeds a friend, provided he does not accumulate wealth from it.
أخبرنا إسحق بن إبراهيم قال حدثنا أزهر السمان عن ابن عون عن نافع
أن عمر أصاب أرضا بخيبر فأتى النبي ﷺ يستأمره في ذلك فقال إن شئت حبست أصلها وتصدقت بها فحبس أصلها أن لا تباع ولا توهب ولا تورث فتصدق بها على الفقراء والقربى والرقاب وفي المساكين وابن السبيل والضيف لا جناح على من وليها أن يأكل منها بالمعروف أو يطعم صديقه غير متمول فيه