Allah commands endurance upon meeting the enemy in battle and ordains patience while fighting them. Muslims are not allowed to run or shy away, or show cowardice in battle. They are commanded to remember Allah while in that condition and never neglect His remembrance. They should rather invoke Him for support, trust in Him and seek victory over their enemies from Him. They are required to obey Allah and His Messenger in such circumstances adhering to what He commanded them, and abstaining from what He forbade them. They are required to avoid disputing with each other, for this might lead to their defeat and failure,
(lest your strength departs), so that your strength, endurance and courage do not depart from you,
﴿وَاصْبِرُواْ إِنَّ اللَّهَ مَعَ الصَّـبِرِينَ﴾
(and be patient. Surely, Allah is with the patients.)
In their courage, and obedience to Allah and His Messenger, the Companions reached a level never seen before by any nation or generation before them, or any nation that will ever come. Through the blessing of the Messenger and their obedience to what he commanded, the Companions were able to open the hearts, as well as, the various eastern and western parts of the world in a rather short time. This occurred even though they were few, compared to the armies of the various nations at that time. For example, the Romans, Persians, Turks, Slavs, Berbers, Ethiopians, Sudanese tribes, the Copts and the rest of the Children of Adam. They defeated all of these nations, until Allah's Word became the highest and His religion became dominant above all religions. The Islamic state spread over the eastern and western parts of the world in less than thirty years. May Allah grant them His pleasure, as well as, be pleased with them all, and may He gather us among them, for He is the Most Generous, and Giving.
﴿وَلاَ تَكُونُواْ كَالَّذِينَ خَرَجُواْ مِن دِيَـرِهِم بَطَراً وَرِئَآءَ النَّاسِ وَيَصُدُّونَ عَن سَبِيلِ اللَّهِ وَاللَّهُ بِمَا يَعْمَلُونَ مُحِيطٌ - وَإِذْ زَيَّنَ لَهُمُ الشَّيْطَـنُ أَعْمَـلَهُمْ وَقَالَ لاَ غَالِبَ لَكُمُ الْيَوْمَ مِنَ النَّاسِ وَإِنِّي جَارٌ لَّكُمْ فَلَمَّا تَرَآءَتِ الْفِئَتَانِ نَكَصَ عَلَى عَقِبَيْهِ وَقَالَ إِنِّي بَرِىءٌ مِّنْكُمْ إِنِّي أَرَى مَا لاَ تَرَوْنَ إِنِّي أَخَافُ اللَّهَ وَاللَّهُ شَدِيدُ الْعِقَابِ - إِذْ يَقُولُ الْمُنَـفِقُونَ وَالَّذِينَ فِي قُلُوبِهِم مَّرَضٌ غَرَّ هَـؤُلاءِ دِينُهُمْ وَمَن يَتَوَكَّلْ عَلَى اللَّهِ فَإِنَّ اللَّهَ عَزِيزٌ حَكِيمٌ ﴾
(47. And be not like those who come out of their homes boastfully and to be seen of men, and hinder (men) from the path of Allah; and Allah is Muhit (eneompassing and thoroughly comprehending) all that they do.) (48. And (remember) when Shaytan made their (evil) deeds seem fair to them and said, "No one of mankind can overcome you this day (of the battle of Badr) and verily, I am your neighbor (for each and every help).'' But when the two forces came in sight of each other, he ran away and said "Verily, I have nothing to do with you. Verily, I see what you see not. Verily, I fear Allah for Allah is severe in punishment.'') (49. When the hypocrites and those in whose hearts was a disease (of disbelief) said: "These people (Muslims) are deceived by their religion.'' But whoever puts his trust in Allah, then surely, Allah is All-Mighty, All-Wise.)