Sure An-Nisaa

4:94

يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ إِذَا ضَرَبْتُمْ فِى سَبِيلِ ٱللَّهِ فَتَبَيَّنُوا۟ وَلَا تَقُولُوا۟ لِمَنْ أَلْقَىٰٓ إِلَيْكُمُ ٱلسَّلَٰمَ لَسْتَ مُؤْمِنًۭا تَبْتَغُونَ عَرَضَ ٱلْحَيَوٰةِ ٱلدُّنْيَا فَعِندَ ٱللَّهِ مَغَانِمُ كَثِيرَةٌۭ ۚ كَذَٰلِكَ كُنتُم مِّن قَبْلُ فَمَنَّ ٱللَّهُ عَلَيْكُمْ فَتَبَيَّنُوٓا۟ ۚ إِنَّ ٱللَّهَ كَانَ بِمَا تَعْمَلُونَ خَبِيرًۭا

O die ihr glaubt, wenn ihr auf Allahs Weg umherreist, dann unterscheidet klar und sagt nicht zu einem, der euch Frieden anbietet: "Du bist nicht gläubig", wobei ihr nach den Glücksgütern des diesseitigen Lebens trachtet. Doch bei Allah ist Gutes in Fülle. So wart ihr zuvor. Aber dann hat Allah euch eine Wohltat erwiesen. Unterscheidet also klar. Gewiß, Allah ist dessen, was ihr tut, Kundig.

Tafsir 4:94

O you who have faith in Allah and follow His Messenger, when you go out to fight in Allah’s path, be sure about the case of those you are fighting. Do not say to the person who displays something indicating that he is a believer, ‘You are not a believer! You only displayed Islam out of fear for your life and wealth’; so that you then kill him in order to get the trivial goods of the world, such as the booty you acquire from this person after killing him. Yet Allah has much provision that is better and greater than this. In the past you were also like this person: hiding your faith from the people. Then Allah favoured you with Islam and protected your lives. So be careful, as Allah knows well what you do. Nothing is hidden from Him and He will reward you for your actions.