Abdullah bin Abbas reported,

The Prophet ﷺ said while inside a tent, "Allah, I call upon You by Your covenant and Your promise. Allah, if You will, You shall not be worshipped after this day."Abu Bakr took him by the hand and said, "That is enough, Messenger of Allah. You have pleaded earnestly with your Lord."He was wearing his armor, and he came out reciting, "The multitude will be defeated and will turn their backs in flight. Indeed, the Hour is their appointed time, and the Hour will be more disastrous and more bitter." [Qamar 54:45–46].

Azami 7876

Sahih

عن ابن عباس قال

قال النبي ﷺ وهو في قبة: اللهم إني أنشدك عهدك ووعدك اللهم إن شئت لم تعبد بعد اليوم فأخذ أبو بكر بيده فقال حسبك يا رسول الله فقد ألححت على ربك وهو في الدرع فخرج وهو يقول: {سيهزم الجمع ويولون الدبر بل الساعة موعدهم والساعة أدهى وأمر}. [ سورة القمر: ٤٥-٤٦].

الأعظمي 7876صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Supplication for victory when meeting the enemy
Numbering
Jami al-Kamil 7876 (2nd edition)
Azami 7876