یَسْـَٔلُوْنَكَ عَنِ الْاَنْفَالِ ؕ— قُلِ الْاَنْفَالُ لِلّٰهِ وَالرَّسُوْلِ ۚ— فَاتَّقُوا اللّٰهَ وَاَصْلِحُوْا ذَاتَ بَیْنِكُمْ ۪— وَاَطِیْعُوا اللّٰهَ وَرَسُوْلَهٗۤ اِنْ كُنْتُمْ مُّؤْمِنِیْنَ ۟يَسۡــئَلُوۡنَكَ عَنِ الۡاَنۡفَالِ ؕ قُلِ الۡاَنۡفَالُ لِلّٰهِ وَالرَّسُوۡلِ ۚ فَاتَّقُوا اللّٰهَ وَاَصۡلِحُوۡا ذَاتَ بَيۡنِكُمۡۖ وَاَطِيۡعُوا اللّٰهَ وَرَسُوۡلَهٗۤ اِنۡ كُنۡتُمۡ مُّؤۡمِنِيۡنَ
(اے محمد! مجاہد لوگ) تم سے غنیمت کے مال کے بارے میں دریافت کرتے ہیں کہ (کیا حکم ہے) کہہ دو کہ غنیمت خدا اور اس کے رسول کا مال ہے۔ تو خدا سے ڈرو اور آپس میں صلح رکھو اور اگر ایمان رکھتے ہو تو خدا اور اس کے رسول کے حکم پر چلو
Tafseer of 8:1
Your companions ask you, O Messenger, about the war booty, how it should be distributed, and to whom. Say, O Messenger, in answer to their question: The spoils of war are for Allah and His Messenger, and it is for Allah and His Messenger to judge what to do with it and how to distribute it. You only have to submit and comply. So take heed of Allah, O believers, by complying with His commands and abstaining from His prohibitions. Resolve whatever is between you of severed relations and abandonment with affection, reconciliation, good character, and pardon. Adhere to obeying Allah and His Messenger if you truly believe because faith leads to obedience and staying far away from disobedience. This question was raised after the battle of Badr.