So, you who believe, be careful when you go to fight in God’s way, and do not say to someone who offers you a greeting of peace, ‘You are not a believer,’ out of desire for the chance gains of this life- God has plenty of gains for you. You yourself were in the same position [once], but God was gracious to you, so be careful: God is fully aware of what you do.
O ye who believe! When ye go abroad in the cause of Allah, investigate carefully, and say not to any one who offers you a salutation: "Thou art none of a believer!" Coveting the perishable goods of this life: with Allah are profits and spoils abundant. Even thus were ye yourselves before, till Allah conferred on you His favours: Therefore carefully investigate. For Allah is well aware of all that ye do.