The Messenger of Allah ﷺ made a long supplication, of which we did not memorize anything. We said, "Messenger of Allah, you made a long supplication, but we did not memorize any of it."He said, "Shall I show you something that encompasses all of that? Say, 'O Allah, we ask You for the good of what Your Prophet Muhammad ﷺ asked You for, and we seek refuge with You from the evil of what Your Prophet Muhammad ﷺ sought refuge with You from. You are the One whose help is sought, and upon You is the conveyance, and there is no power and no strength except through Allah.'"
حدثنا محمد بن حاتم حدثنا عمار بن محمد ابن أخت سفيان الثوري حدثنا الليث بن أبي سليم عن عبد الرحمن بن سابط
دعا رسول الله ﷺ بدعاء كثير لم نحفظ منه شيئا قلنا يا رسول الله دعوت بدعاء كثير لم نحفظ منه شيئا فقال ألا أدلكم على ما يجمع ذلك كله تقول اللهم إنا نسألك من خير ما سألك منه نبيك محمد ﷺ ونعوذ بك من شر ما استعاذ منه نبيك محمد ﷺ وأنت المستعان وعليك البلاغ ولا حول ولا قوة إلا بالله
No references are available.
[Its chain of transmission is daif] Ammar bin Muhammad is daif. Bukhari narrated it in Adab al-Mufrad, no. 679, with a daif chain that includes Layth bin Abu Salim, and Layth is well known to be daif.