It has been narrated on the authority of Ibn Umar that the Messenger of Allah (ﷺ) allowed two shares from the spoils to the horseman and one share to the footman.
Sahih Muslim Book 32, Hadith 67