Treaty of Hudaybiyyah
Muhammad and his followers attacked Khaybar in May/June 628 after the Treaty of Hudaybiyyah. Although the Jews put up fierce resistance, the lack of central command and preparation for an extended siege sealed the outcome of the battle in favor of the Muslims. When all but two fortresses were captured, the Jews negotiated their surrender. The terms required them to hand over one-half of the annual produce to the Muslims, while the land itself became the collective property of the Muslim state.