Narrated Abu Huraira
The Ansar said to the Prophet, "Divide our date-palms between us and our emigrant brothers." The Prophet said, "No." The Ansar said to the emigrants, "You may do the labor (in our gardens) and we will share the fruits with you." The emigrants said, "We hear and obey."
Narrated `Abdullah bin `Umar
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.