Hadith 31

Sahih Bukhari

Book 57: One-fifth of Booty to the Cause of Allah (Khumus)

Chapter 8

The statement of the Prophet ﷺ: "Booty has been made legal for you Muslims."

بَابُ قَوْلِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أُحِلَّتْ لَكُمُ الْغَنَائِمُ»

And the Statement of Allah عز وجل: "Allah has promised you abundant spoils that you will capture..." (V.48:20) So, the booty is for all the Muslim fighters who took part in the battle till Allah's Messenger ﷺ explained (the details) of those who deserved or not.
وَقَالَ اللَّهُ تَعَالَى: {وَعَدَكُمُ اللَّهُ مَغَانِمَ كَثِيرَةً تَأْخُذُونَهَا فَعَجَّلَ لَكُمْ هَذِهِ} وَهْيَ لِلْعَامَّةِ حَتَّى يُبَيِّنَهُ الرَّسُولُ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ.
Sahih al-Bukhari 3122
حَدَّثَنَا مُحَمَّدُ بْنُ سِنَانٍ، حَدَّثَنَا هُشَيْمٌ، أَخْبَرَنَا سَيَّارٌ، حَدَّثَنَا يَزِيدُ الْفَقِيرُ، حَدَّثَنَا جَابِرُ بْنُ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ ‏‏.‏
"‏ أُحِلَّتْ لِي الْغَنَائِمُ ‏"
Jabir bin `Abdullah:

Allah's Messenger (ﷺ) said, "Booty has been made legal for me."