On the day of Khaibar, Messenger of Allah ﷺ divided (the war booty of Khaibar) with the ratio of two shares for the horse and one-share for the foot soldier. (The sub-narrator, Nafiʿ explained this, saying, "If a man had a horse, he was given three shares and if he had no horse, then he was given one share.")
قَسَمَ رَسُولُ اللَّهِ ﷺ يَوْمَ خَيْبَرَ لِلْفَرَسِ سَهْمَيْنِ وَلِلرَّاجِلِ سَهْمًا قَالَ فَسَّرَهُ نَافِعٌ فَقَالَ إِذَا كَانَ مَعَ الرَّجُلِ فَرَسٌ فَلَهُ ثَلاَثَةُ أَسْهُمٍ فَإِنْ لَمْ يَكُنْ لَهُ فَرَسٌ فَلَهُ سَهْمٌ