مَا كَانَ لِأَهۡلِ ٱلۡمَدِينَةِ وَمَنۡ حَوۡلَهُم مِّنَ ٱلۡأَعۡرَابِ أَن يَتَخَلَّفُواْ عَن رَّسُولِ ٱللَّهِ وَلَا يَرۡغَبُواْ بِأَنفُسِهِمۡ عَن نَّفۡسِهِۦۚ ذَٰلِكَ بِأَنَّهُمۡ لَا يُصِيبُهُمۡ ظَمَأࣱ وَلَا نَصَبࣱ وَلَا مَخۡمَصَةࣱ فِي سَبِيلِ ٱللَّهِ وَلَا يَطَـُٔونَ مَوۡطِئࣰا يَغِيظُ ٱلۡكُفَّارَ وَلَا يَنَالُونَ مِنۡ عَدُوࣲّ نَّيۡلًا إِلَّا كُتِبَ لَهُم بِهِۦ عَمَلࣱ صَٰلِحٌۚ إِنَّ ٱللَّهَ لَا يُضِيعُ أَجۡرَ ٱلۡمُحۡسِنِينَ ١٢٠

  1. Mufti Taqi Usmani - English translation


    It was not (permissible) for the people of Madīnah and for those around them of the Bedouins to stay behind abandoning the Messenger of Allah, nor to prefer their own lives to his life. That is because whatever thirst or fatigue or hunger strikes them in the way of Allah, and whenever they step into a place which infuriates the infidels, and whenever they make a gain from an enemy, a virtuous deed is credited to their account. Surely, Allah does not nullify the reward of the virtuous.

Read the whole surah Compare translations Arabic tafsir