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 Ibn `Abbas:
While in his tent on the day the Battle of Badr, the Prophet (ﷺ) said, "O Allah! I request You (to fulfill) Your promise and contract. O Allah! It You wish that the Believers be destroyed). You will never 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" The Prophet (ﷺ) was wearing his armor and then went out reciting: 'Their multitude will be put to flight and they will show their backs. Nay, but the Hour is their appointed time (for their full recompense), and the Hour will be more previous and most bitter.' (54:45-46)
Full reference and source
Sahih al-Bukhari USC-MSA web (English) : Vol. 6, Book 60, Hadith 400 Arabic : Book 65, Hadith 4877
View source on Sunnah.com (opens in a new tab)