Surah Al-Ahzab (الأحزاب) · verse 15 (Medinan · Juz 21 · page 419)
وَلَقَدْ كَانُوا۟ عَٰهَدُوا۟ ٱللَّهَ مِن قَبْلُ لَا يُوَلُّونَ ٱلْأَدْبَٰرَ وَكَانَ عَهْدُ ٱللَّهِ مَسْـُٔولًا ﴿15﴾
التفسير الميسر
ولقد كان هؤلاء المنافقون عاهدوا الله على يد رسوله من قبل غزوة الخندق، لا يفرُّون إن شهدوا الحرب، ولا يتأخرون إذا دعوا إلى الجهاد، ولكنهم خانوا عهدهم، وسيحاسبهم الله على ذلك، ويسألهم عن ذلك العهد، وكان عهد الله مسؤولا عنه، محاسَبًا عليه
Sahih International
And they had already promised Allah before not to turn their backs and flee. And ever is the promise to Allah [that about which one will be] questioned
Marmaduke Pickthall
And verily they had already sworn unto Allah that they would not turn their backs (to the foe). An oath to Allah must be answered for
Abdullah Yusuf Ali
And yet they had already covenanted with Allah not to turn their backs, and a covenant with Allah must (surely) be answered for