It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said on the day of Badr, while in his tent: "O Allah, I ask You for Your covenant and Your promise. O Allah, if You will, You will not be worshipped after today." Abu Bakr (may Allah be pleased with him) took hold of his (peace and blessings be upon him) hand and said: "Enough, O Messenger of Allah! You have pleaded with your Lord insistently." He (peace and blessings be upon him) was wearing a coat of mail, and he (peace and blessings be upon him) went out saying: "The assembly will soon be defeated and will turn their backs in flight. Rather, the Hour is their appointed time, and the Hour is more grievous and more bitter."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11926