It is narrated from al-Hakam that the Messenger of Allah (peace and blessings be upon him) fixed two shares for the horseman and one for the footman.