Ibn Umar reported: Umar acquired a land at Khaybar. He came to Allah’s Apostle (may peace be upon him) and sought his advice in regard to it. He said: Allah's Messenger, I have acquired land in Khaybar. I have never acquired property more valuable for me than this, so what do you command me to do with it? Thereupon he (Allah's Apostle) said: If you like, you may keep the corpus intact and give its produce as Sadaqah. So Umar gave it as Sadaqah declaring that property must not be sold or inherited or given away as gift. And Umar devoted it to the poor, to the nearest kin, and to the emancipation of slaves, aired in the way of Allah and guests. There is no sin for one, who administers it if he eats something from it in a reasonable manner, or if he feeds his friends and does not hoard up goods (for himself).
(Muslim, Shahih Muslim)