An-Nur 24:53
۞ وَأَقْسَمُوا۟ بِٱللَّهِ جَهْدَ أَيْمَـٰنِهِمْ لَئِنْ أَمَرْتَهُمْ لَيَخْرُجُنَّ ۖ قُل لَّا تُقْسِمُوا۟ ۖ طَاعَةٌ مَّعْرُوفَةٌ ۚ إِنَّ ٱللَّهَ خَبِيرٌۢ بِمَا تَعْمَلُونَ
Waaqsamoo billahi jahda aymanihimla-in amartahum layakhrujunna qul la tuqsimoo taAAatunmaAAroofatun inna Allaha khabeerun bima taAAmaloon
And they swear by Allāh their strongest oaths that if you ordered them, they would go forth [in Allāh's cause]. Say, "Do not swear. [Such] obedience is known. Indeed, Allāh is [fully] Aware of that which you do."
And they (the hypocrites) swear by Allah on forceful oaths that if you (O prophet) order them, they will certainly leave (their homes for Jihād ). Say, “do not swear, (the reality of your) obedience is known. Indeed Allah is fully aware of what you do.”