Anas bin Malik reported,

I saw the Messenger of Allah ﷺ on a journey pray eight rakahs of the forenoon prayer. When he had finished, he said, "I have prayed a prayer of hope and fear. I asked my Lord عز وجل for three things, and He granted me two and withheld one. I asked Him not to afflict my community with years of famine, and not to let their enemy prevail over them, and He granted both. I asked Him not to divide them into sects, but He refused me that."

Ahmad 12589

Daif

حدثنا يحيى بن غيلان حدثنا رشدين قال حدثني عمرو بن الحارث عن بكير عن الضحاك القرشي

عن أنس بن مالك قال

رأيت رسول الله ﷺ في سفر صلى سبحة الضحى ثمان ركعات فلما انصرف قال إني صليت صلاة رغبة ورهبة سألت ربي عز وجل ثلاثا فأعطاني اثنتين ومنعني واحدة سألته أن لا يبتلي أمتي بالسنين ولا يظهر عليهم عدوهم ففعل وسألته أن لا يلبسهم شيعا فأبى علي

أحمد 12589ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12589
Ahmad 12589