Messenger of Allah ﷺ 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 Messenger of Allah ﷺ You have appealed to your Lord too pressingly," while the Prophet ﷺ was putting on his armor. So Messenger of Allah ﷺ went out, reciting Their multitude will be put to flight, and they will show their backs.' (54.45)
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ وَهْوَ فِي قُبَّةٍ يَوْمَ بَدْرٍ اللَّهُمَّ إِنِّي أَنْشُدُكَ عَهْدَكَ وَوَعْدَكَ اللَّهُمَّ إِنْ تَشَأْ لاَ تُعْبَدْ بَعْدَ الْيَوْمِ فَأَخَذَ أَبُو بَكْرٍ بِيَدِهِ فَقَالَ حَسْبُكَ يَا رَسُولَ اللَّهِ أَلْحَحْتَ عَلَى رَبِّكَ وَهْوَ يَثِبُ فِي الدِّرْعِ فَخَرَجَ وَهْوَ يَقُولُ {سَيُهْزَمُ الْجَمْعُ وَيُوَلُّونَ الدُّبُرَ}