The Messenger of Allah ﷺ taught her this supplication, "O Allah, I ask You for all that is good, both in this life and the next, what I know of it and what I do not know. I seek refuge in You from all that is evil, both in this life and the next, what I know of it and what I do not know. O Allah, I ask You for the good that Your servant and Prophet has asked You for, and I seek refuge in You from the evil that Your servant and Prophet sought refuge from. O Allah, I ask You for Paradise and for whatever brings me near to it, in word or deed, and I seek refuge in You from the Fire and from whatever brings me near to it, in word or deed. And I ask You to make every decree You have decreed for me good."
حدثنا أبو بكر بن أبي شيبة حدثنا عفان حدثنا حماد بن سلمة أخبرني جبر بن حبيب عن أم كلثوم بنت أبي بكر
أن رسول الله ﷺ علمها هذا الدعاء اللهم إني أسألك من الخير كله عاجله وآجله ما علمت منه وما لم أعلم وأعوذ بك من الشر كله عاجله وآجله ما علمت منه وما لم أعلم اللهم إني أسألك من خير ما سألك عبدك ونبيك وأعوذ بك من شر ما عاذ به عبدك ونبيك اللهم إني أسألك الجنة وما قرب إليها من قول أو عمل وأعوذ بك من النار وما قرب إليها من قول أو عمل وأسألك أن تجعل كل قضاء قضيته لي خيرا
[Its isnad is sahih] Ahmad narrated it, 6/133, 147, from Affan, through him. Shubah also narrated it (Ahmad, 6/147, 146), as did Jareeri, and Bukhari in Adab al-Mufrad, no. 639, from Jabr, through him. Umm Kulthum is trustworthy, as stated in Taqrib.