Abdullah bin Abbas reported,

The Prophet ﷺ, while inside a small tent, said, "O Allah, I implore You by Your covenant and Your promise. O Allah, if You will, You will not be worshipped after this day."Abu Bakr took him by the hand and said, "That is enough, Messenger of Allah. You have pressed your Lord earnestly."He was wearing his coat of mail. He then went out, reciting, "The host shall be routed and shall turn their backs in flight. Indeed, the Hour is their appointed time, and the Hour shall be more grievous and bitter" [Qamar 54:45–46].Wahib said, Khalid narrated to us, "On the day of Badr."

Bukhari 2915

Sahih

حدثني محمد بن المثنى حدثنا عبد الوهاب حدثنا خالد عن عكرمة

عن ابن عباس رضي الله عنهما قال

قال النبي ﷺ وهو في قبة اللهم إني أنشدك عهدك ووعدك اللهم إن شئت لم تعبد بعد اليوم فأخذ أبو بكر بيده فقال حسبك يا رسول الله فقد ألححت على ربك وهو في الدرع فخرج وهو يقول {سيهزم الجمع ويولون الدبر بل الساعة موعدهم والساعة أدهى وأمر} وقال وهيب حدثنا خالد يوم بدر

البخاري 2915صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Armor of the Prophet ﷺ and the shirt in battle
Numbering
Darussalam 2915
Bukhari 2915