Surah Al-Anfal — Ayah 16 (8:16)
وَمَن يُوَلِّهِمۡ يَوۡمَئِذٖ دُبُرَهُۥٓ إِلَّا مُتَحَرِّفٗا لِّقِتَالٍ أَوۡ مُتَحَيِّزًا إِلَىٰ فِئَةٖ فَقَدۡ بَآءَ بِغَضَبٖ مِّنَ ٱللَّهِ وَمَأۡوَىٰهُ جَهَنَّمُۖ وَبِئۡسَ ٱلۡمَصِيرُ ١٦
English translation (Saheeh International)
And whoever turns his back to them on such a day, unless swerving [as a strategy] for war or joining [another] company, has certainly returned with anger [upon him] from Allāh, and his refuge is Hell - and wretched is the destination.
Brief commentary
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!