Sahih al-Bukhari
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ حَوْشَبٍ، حَدَّثَنَا عَبْدُ الْوَهَّابِ، حَدَّثَنَا خَالِدٌ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ،. وَحَدَّثَنِي مُحَمَّدٌ، حَدَّثَنَا عَفَّانُ بْنُ مُسْلِمٍ، عَنْ وُهَيْبٍ، حَدَّثَنَا خَالِدٌ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ وَهْوَ فِي قُبَّةٍ يَوْمَ بَدْرٍ اللَّهُمَّ إِنِّي أَنْشُدُكَ عَهْدَكَ وَوَعْدَكَ، اللَّهُمَّ إِنْ تَشَأْ لاَ تُعْبَدْ بَعْدَ الْيَوْمِ ". فَأَخَذَ أَبُو بَكْرٍ بِيَدِهِ فَقَالَ حَسْبُكَ يَا رَسُولَ اللَّهِ، أَلْحَحْتَ عَلَى رَبِّكَ. وَهْوَ يَثِبُ فِي الدِّرْعِ، فَخَرَجَ وَهْوَ يَقُولُ " {سَيُهْزَمُ الْجَمْعُ وَيُوَلُّونَ الدُّبُرَ}.""
Narrated `Abbas:
Allah's Messenger (ﷺ) while in a tent on the day of the Battle of Badr, said, "O Allah! I request you (to fulfill) Your promise and contract! O Allah! If You wish that you will not be worshipped henceforth.." On that Abu Bakr held the Prophet (ﷺ) by the hand and said, "That is enough, O Allah's Messenger (ﷺ) You have appealed to your Lord too pressingly," while the Prophet (ﷺ) was putting on his armor. So Allah's Messenger (ﷺ) went out, reciting Their multitude will be put to flight, and they will show their backs.' (54:45)
Full reference and source
Sahih al-Bukhari USC-MSA web (English) : Vol. 6, Book 60, Hadith 398 Arabic : Book 65, Hadith 4875
View source on Sunnah.com (opens in a new tab)