Sura Al-Anfaal

8:16

وَمَن يُوَلِّهِمْ يَوْمَئِذٍۢ دُبُرَهُۥٓ إِلَّا مُتَحَرِّفًۭا لِّقِتَالٍ أَوْ مُتَحَيِّزًا إِلَىٰ فِئَةٍۢ فَقَدْ بَآءَ بِغَضَبٍۢ مِّنَ ٱللَّهِ وَمَأْوَىٰهُ جَهَنَّمُ ۖ وَبِئْسَ ٱلْمَصِيرُ

Den som då gör helt om - om det inte är [en krigslist] för att falla [en fientlig styrka i ryggen] eller för att gå samman med ett [av era] förband - ådrar sig Guds vrede och helvetet skall bli hans sista hemvist - ett i sanning eländigt mål!

Tafsir 8:16

And whoever turns their back running away- unless they are withdrawing as a strategy with the intention of turning back to fight, or doing it to join a group of Muslims in order to help them-then certainly, he will earn the anger of Allah, and his place in the Hereafter will be Hell; what a miserable destination and final destiny!