قَوْلُهُ تَعَالَى: {حَلَالًا طَيِّبًا} [البقرة: 168]
[Machine] The Messenger of Allah ﷺ said: "The spoils of war were not lawful for any people before you who had black curly hair. When they would descend upon them, fire would consume them. But on the day of Badr, the people hastened in the spoils of war, so Allah sent down [the verse]: 'And indeed a book [i.e., decree] from Allah had come before [Badr] to prevent from a slaughtering of the believers. Until when you saw the spoils of war coming to you, you were greedy for them. And you remained with avarice for them.' [Al-Anfal: 68] until the end of the verse 'So consume what you have taken of war booty [as being] lawful and good.' [Al-Anfal: 69]
قَالَ رَسُولُ اللهِ ﷺ لَمْ تَحِلَّ الْغَنَائِمُ لِقَوْمٍ سُودِ الرُّءُوسِ قَبْلَكُمْ كَانَتْ تَنْزِلُ نَارٌ مِنَ السَّمَاءِ فَتَأْكُلُهَا فَلَمَّا كَانَ يَوْمُ بَدْرٍ أَسْرَعَ النَّاسُ فِي الْغَنَائِمِ فَأَنْزَلَ اللهُ ﷻ {لَوْلَا كِتَابٌ مِنَ اللهِ سَبَقَ} [الأنفال 68] إِلَى آخِرِ الْآيَةِ {فَكُلُوا مِمَّا غَنِمْتُمْ حَلَالًا طَيِّبًا} [الأنفال 69]