to respect his legacy

What was the condition outlined by the Prophet Muhammad (saw) that the Jews of Khaibar must agree to in exchange for being given the land of Khaibar?
 Narrated `Abdullah:                     The Prophet gave (the land of) Khaibar to the Jews (of Khaibar) on condition that they would work on it and cultivate it and they would have half of its yield.