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 Messenger of Allah ﷺ! 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) (Using translation from Bukhārī 4877)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ يَوْمَ بَدْرٍ وَهُوَ فِي قُبَّتِهِ «اللهُمَّ أَنْشُدُكَ عَهْدَكَ وَوَعْدَكَ اللهُمَّ إِنْ شِئْتَ لَمْ تَعْبُدْ بَعْدَ الْيَوْمِ» وَأَخَذَ أَبُو بَكْرٍ بِيَدِهِ فَقَالَ حَسْبُكَ يَا رَسُولَ اللهِ فَقَدْ أَلْحَحْتَ عَلَى رَبِّكَ وَهُوَ فِي الدِّرْعِ فَخَرَجَ يَقُولُ «سَيُهْزَمُ الْجَمْعُ وَيُوَلُّونَ الدُّبُرَ بَلِ السَّاعَةُ مَوْعِدُهُمْ وَالسَّاعَةُ أَدْهَى وَأَمَرُّ»