Khaybar was divided among the people of al-Hudaybiyyah. The Messenger of Allah (ﷺ) divided it into eighteen portions. The army contained one thousand and five hundred people. There were three hundred horsemen among them. He gave double share to the horsemen, and a single to the footmen.
Sunan Abi Dawud Book 20, Hadith 88