ذِكْرُ الْوَقْتِ الَّذِي أَنْزَلَ اللَّهُ جَلَّ وَعَلَا آيَةَ الْأَنْفَالِ
that the Prophet ﷺ said: "None of the black heads (meaning the Children of Adam since (most of) their heads are black) before you partook of spoils of war, but fire from the heavens would be sent down upon them, consuming them." Sulaiman (one of the narrators) said "No one says this except for Abu Hurairah now. "So on the day of Badr when they had the spoils of war before it was made lawful for them, Allah [Most High] revealed: Were it not a previous ordainment from Allah, a severe torment would have touched you for what you took." (Using translation from Tirmidhī 3085)
عَنْ رَسُولِ اللَّهِ ﷺ قَالَ «لَمْ تَحِلَّ الْغَنَائِمُ لِأَحَدٍ سُودِ الرُّءُوسِ قَبْلَكُمْ كَانَتْ تَنْزِلُ مِنَ السَّمَاءِ نَارٌ فَتَأْكُلُهَا فَلَمَّا كَانَ يَوْمُ بَدْرٍ وَقَعَ النَّاسُ فِي الْغَنَائِمِ فَأَنْزَلَ اللَّهُ {لَوْلَا كِتَابٌ مِنَ اللَّهِ سَبَقَ لَمَسَّكُمْ فِيمَا أَخَذْتُمْ عَذَابٌ عَظِيمٌ} »