ثُمَّ أَنْزَلَ عَلَيْكُمْ مِنْ بَعْدِ الْغَمِّ أَمَنَةً نُعَاسًا يَغْشَىٰ طَائِفَةً مِنْكُمْ ۖ وَطَائِفَةٌ قَدْ أَهَمَّتْهُمْ أَنْفُسُهُمْ يَظُنُّونَ بِاللَّهِ غَيْرَ الْحَقِّ ظَنَّ الْجَاهِلِيَّةِ ۖ يَقُولُونَ هَلْ لَنَا مِنَ الْأَمْرِ مِنْ شَيْءٍ ۗ قُلْ إِنَّ الْأَمْرَ كُلَّهُ لِلَّهِ ۗ يُخْفُونَ فِي أَنْفُسِهِمْ مَا لَا يُبْدُونَ لَكَ ۖ يَقُولُونَ لَوْ كَانَ لَنَا مِنَ الْأَمْرِ شَيْءٌ مَا قُتِلْنَا هَاهُنَا ۗ قُلْ لَوْ كُنْتُمْ فِي بُيُوتِكُمْ لَبَرَزَ الَّذِينَ كُتِبَ عَلَيْهِمُ الْقَتْلُ إِلَىٰ مَضَاجِعِهِمْ ۖ وَلِيَبْتَلِيَ اللَّهُ مَا فِي صُدُورِكُمْ وَلِيُمَحِّصَ مَا فِي قُلُوبِكُمْ ۗ وَاللَّهُ عَلِيمٌ بِذَاتِ الصُّدُورِ 154
Summa anzala 'alaikum mim ba'dil ghammi amanatan nu'aasai yaghshaa taaa' ifatam minkum wa taaa'ifatun qad ahammathum anfusuhum yazunnoona billaahi ghairal haqqi zannal jaahiliyyati yaqooloona hal lanaa minal amri min shai'; qul innal amra kullahoo lillaah; yukhfoona fee anfusihim maa laa yubdoona laka yaqooloona law kaana lanaa minal amri shai'ummaa qutilnaa haahunaa; qul law kuntum fee buyootikum labarazal lazeena kutiba 'alaihimul qatlu ilaa madaaji'ihim wa liyabtaliyal laahu maa fee sudoorikum wa liyumah hisa maa fee quloobikum; wallaahu 'aleemum bizaatis sudoor
154.Then He sent down tranquility upon you after distress: a slumber overtaking a group of you, while another group cared only about themselves, having false thoughts about Allah, the untrue thoughts of ignorance, saying, “Do we have any say in the matter?” Say, “All matters belong to Allah.” They conceal in their hearts what they do not reveal to you. They say, “If we had any say in the matter, none of us would have been killed here.” Say, “Even if you had been in your homes, those among you who were destined to be killed would have come out to their killing places.” But Allah did this so that He may test your inner thoughts and distinguish what is in your hearts. For Allah is All-Knowing of what is in the hearts
Tafsir (explanation)
Then He sent down on you, after the pain and distress, peace and security. A group among you, who trusted in the promise of Allah, became overcome by sleep because of the peace and serenity in their hearts. Another group were not blessed with security or sleep, and they were the hypocrites, who only worried about their own safety, and felt upset and scared. They thought badly of Allah, thinking that He would not help His Prophet or support His servants, like those of the time of ignorance before Islam did, who did not understand Allah’s reality. These hypocrites said, due to their ignorance of Allah, that they did not have a say in whether they went out to fight; and if they had, they would not have done so. Tell them, O Prophet, in reply, that everything that happens is up to Allah, and that He decreed that they would go out to fight. These hypocrites hide in themselves doubt and bad opinion which they do not show to you, saying that if they had a say in whether they had gone to fight, then people would not have been killed in this place. Tell them, O Prophet, in reply, that if they had been in their houses far from the places of battle and death, those whom Allah had destined to be killed would inevitably go out to the places of their death. Allah only did this to test the intentions and motives in your hearts, and to reveal the faith and hypocrisy in them. Allah knows what is in the hearts of people, and nothing is hidden from Him.