Ayesha reported,

Abu Bakr came in to see the Messenger of Allah ﷺ and wanted to speak with him, but Ayesha was praying. The Messenger of Allah ﷺ said to her, "Keep to the all-encompassing words," or some similar phrase.When Ayesha had finished her prayer, she asked him about what he had meant.He told her, "Say, 'O Allah, I ask You for all good, both what is near at hand and what is yet to come, what I know of it and what I do not know. I seek refuge in You from all evil, both what is near at hand and what is yet to come, what I know of it and what I do not know. I ask You for Paradise and for every word and deed that brings me closer to it, and I seek refuge in You from the Fire and from every word and deed that brings me closer to it. I ask You for the good that Your servant and Messenger Muhammad ﷺ asked You for, and I seek refuge in You from what Your servant and Messenger Muhammad ﷺ sought refuge in You from. And I ask You that whatever You have decreed for me, You make its outcome sound guidance.'"

Ahmad 25139

Sahih

حدثنا عفان حدثنا حماد بن سلمة حدثنا جبر بن حبيب عن أم كلثوم بنت أبي بكر عن عائشة فذكر نحوه

أحمد 25139صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ayesha
Numbering
Darussalam 25139
Ahmad 25139