Surah At-Tawbah 9:83
فَإِن رَّجَعَكَ ٱللَّهُ إِلَىٰ طَآئِفَةٍ مِّنْهُمْ فَٱسْتَـْٔذَنُوكَ لِلْخُرُوجِ فَقُل لَّن تَخْرُجُوا۟ مَعِىَ أَبَدًا وَلَن تُقَـٰتِلُوا۟ مَعِىَ عَدُوًّا ۖ إِنَّكُمْ رَضِيتُم بِٱلْقُعُودِ أَوَّلَ مَرَّةٍ فَٱقْعُدُوا۟ مَعَ ٱلْخَـٰلِفِينَ
If Allāh should return you to a faction of them [after the expedition] and then they ask your permission to go out [to battle], say, "You will not go out with me, ever, and you will never fight with me an enemy. Indeed, you were satisfied with sitting [at home] the first time, so sit [now] with those who stay behind."
Translation: Saheeh International
Tafsir
So if God brings you back from Tabūk to a party of them of those hypocrites who stayed behind in Medina and they ask leave of you to go forth with you on some other campaign say to them ‘You shall never more go forth with me and you shall never fight with me against an enemy. …
Excerpt from Tafsir al-Jalalayn, commentary on 9:83, via Quran.com. The reader has the full commentary and 9 more tafsirs.