Sure Al-Anfaal

8:42

إِذْ أَنتُم بِٱلْعُدْوَةِ ٱلدُّنْيَا وَهُم بِٱلْعُدْوَةِ ٱلْقُصْوَىٰ وَٱلرَّكْبُ أَسْفَلَ مِنكُمْ ۚ وَلَوْ تَوَاعَدتُّمْ لَٱخْتَلَفْتُمْ فِى ٱلْمِيعَٰدِ ۙ وَلَٰكِن لِّيَقْضِىَ ٱللَّهُ أَمْرًۭا كَانَ مَفْعُولًۭا لِّيَهْلِكَ مَنْ هَلَكَ عَنۢ بَيِّنَةٍۢ وَيَحْيَىٰ مَنْ حَىَّ عَنۢ بَيِّنَةٍۢ ۗ وَإِنَّ ٱللَّهَ لَسَمِيعٌ عَلِيمٌ

Als ihr auf der näheren Talseite wart, sie auf der ferneren Talseite und die Karawane unterhalb von euch. Und wenn ihr euch verabredet hättet, wäret ihr über die Verabredung fürwahr uneinig gewesen, aber (es geschah so), damit Allah eine Angelegenheit entscheide, die ausgeführt werden sollte, damit, wer umkam, auf Grund eines klaren Beweises umkäme, und wer am Leben bliebe, auf Grund eines klaren Beweises am Leben bliebe. Allah ist wahrlich Allhörend und Allwissend.

Tafsir 8:42

Remember, O believers, when you were on the near side of the valley that was facing Medina, the idolaters were on the far side that was facing Makkah and the caravan was at a spot lower than you facing the Red Sea. If you and the idolaters made an appointment with each other to meet at Badr, neither of you would have kept to it: your lack of numbers as compared to your enemy would have kept you back, and the fear of facing Allah’s Messenger would have kept them back. But Allah, may He be glorified, gathered you at Badr without an appointment, so that He may carry out a matter that was already determined: the victory of the believers and the defeat of the disbelievers – bringing honour to His religion and humiliation to idolatry. This was so that those who died from amongst them would die after evidence was established by the believers’ victory against them, despite their lack of numbers and preparation, and so that those who lived would live with clear evidences that Allah made obvious to them, and no one would have any evidence against Allah that they could use as an argument. Allah hears the statements of everyone and knows their actions. Nothing is hidden from Him and He will repay them for that.