Sayyiduna Mujammi' bin Jariyah al-Ansari (may Allah be pleased with him) was one of the reciters of the Qur'an. He says: We were present at al-Hudaybiyah with the Messenger of Allah (peace and blessings be upon him). When we returned from it, suddenly the people were urging on their camels. Some asked: What is the matter with the people? It was said: Allah Almighty has sent revelation to the Messenger of Allah (peace and blessings be upon him). So we set out, hurrying, and we found the Prophet (peace and blessings be upon him) standing near Kura' al-Ghamim. The people gathered around him (peace and blessings be upon him), and he (peace and blessings be upon him) recited to them: "Indeed, We have granted you a clear victory" [Surah al-Fath: 1]. A man said: O Messenger of Allah! Is it a victory? He (peace and blessings be upon him) said: "Yes, by Allah! It is a victory." So Khaybar was divided among the people of al-Hudaybiyah; no one else was included with them (the people of al-Hudaybiyah). The Prophet (peace and blessings be upon him) divided it into eighteen shares, and the army numbered fifteen hundred, (among them) three hundred horsemen. He gave the horseman two shares and the foot soldier one share.
The Shaykh said: The narrations about the division of Khaybar and those about the people of al-Hudaybiyah are contradictory, and according to most narrations the people of al-Hudaybiyah were fourteen hundred.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 12869