Allah's Messenger (ﷺ) said, "If someone sells pollinated date-palms, their fruits will be for the seller, unless the buyer stipulates the contrary."
Allah's Messenger (ﷺ) gave the land of Khaibar to the Jews on the condition that they would work on it and cultivate it and they would get half of its yield.
When the people of Khaibar dislocated `Abdullah bin `Umar's hands and feet, `Umar got up delivering a sermon saying, "No doubt, Allah's Messenger (ﷺ) made a contract with the Jews concerning their properties, and said to them, 'We allow you (to stand in your land) as long as Allah allows you.' Now `Abdullah bin `Umar went to his land and was attacked at night, and his hands and feet were dislocated, and as we have no enemies there except those…
Umar bin Khattab got some land in Khaibar and he went to the Prophet (ﷺ) to consult him about it saying, "O Allah's Messenger (ﷺ) I got some land in Khaibar better than which I have never had, what do you suggest that I do with it?" The Prophet (ﷺ) said, "If you like you can give the land as endowment and give its fruits in charity." So `Umar gave it in charity as an endowment on the condition that…