Sayyiduna Sahl bin Abi Hathmah (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) divided Khaybar into two parts: one part (half) for needs, and the other part (half) he divided among the Muslims in eighteen shares.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 12823