Sura An-Noor

24:53

۞ وَأَقْسَمُوا۟ بِٱللَّهِ جَهْدَ أَيْمَٰنِهِمْ لَئِنْ أَمَرْتَهُمْ لَيَخْرُجُنَّ ۖ قُل لَّا تُقْسِمُوا۟ ۖ طَاعَةٌۭ مَّعْرُوفَةٌ ۚ إِنَّ ٱللَّهَ خَبِيرٌۢ بِمَا تَعْمَلُونَ

Och de svär sina högtidligaste eder vid Gud att de skall gå ut [i striden] om du befaller dem. Säg: "Svär inte! Visa hellre er lydnad [i handling]. Gud är underrättad om vad ni gör."

Tafsir 24:53

The hypocrites take the strongest and far-fetched of oaths possible upon Allah, saying that if you were to command them to march out to jihad, they would indeed do so. O Messenger! Say to them: “Do not take oaths, for your lying is well known, as is your claimed submission. Allah is well-aware of your actions; no action of yours is hidden from Him, regardless of how you try to hide them.