Narrated Ibn Shihab:The Messenger of Allah (ﷺ) took out his fifth from the booty of Khaybar, and divided the rest of it among those who attended the battle and among those who were away from it but attend the expedition of al-Hudaybiyyah.
حَدَّثَنَا ابْنُ السَّرْحِ، حَدَّثَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ بْنُ يَزِيدَ، عَنِ ابْنِ شِهَابٍ، قَالَ خَمَّسَ رَسُولُ اللَّهِ صلى الله عليه وسلم خَيْبَرَ ثُمَّ قَسَّمَ سَائِرَهَا عَلَى مَنْ شَهِدَهَا وَمَنْ غَابَ عَنْهَا مِنْ أَهْلِ الْحُدَيْبِيَةِ .
AbuDaud
Tribute, Spoils, and Rulership (Kitab Al-Kharaj, Wal-Fai' Wal-Imarah) • Hadith 3019