8:41
وَ ٱعْلَمُ وٓا۟ أَنَّ مَا غَنِمْ تُم مِّن شَىْءٍ فَ أَنَّ لِ لَّهِ خُمُسَ هُۥ وَ لِ ل رَّسُولِ وَ لِ ذِى ٱلْ قُرْبَىٰ وَ ٱلْ يَتَٰمَىٰ وَ ٱلْ مَسَٰكِينِ وَ ٱبْنِ ٱل سَّبِيلِ إِن كُن تُمْ ءَامَن تُم بِ ٱللَّهِ وَ مَآ أَنزَلْ نَا عَلَىٰ عَبْدِ نَا يَوْمَ ٱلْ فُرْقَانِ يَوْمَ ٱلْتَقَى ٱلْ جَمْعَانِ وَ ٱللَّهُ عَلَىٰ كُلِّ شَىْءٍ قَدِيرٌ
And know that anything you obtain of war booty - then indeed, for Allah is one fifth of it and for the Messenger and for [his] near relatives and the orphans, the needy, and the [stranded] traveler, if you have believed in Allah and in that which We sent down to Our Servant on the day of criterion - the day when the two armies met. And Allah, over all things, is competent.
8:69
فَ كُلُ وا۟ مِ مَّا غَنِمْ تُمْ حَلَٰلًا طَيِّبًا وَ ٱتَّقُ وا۟ ٱللَّهَ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ
So consume what you have taken of war booty [as being] lawful and good, and fear Allah. Indeed, Allah is Forgiving and Merciful.