Ali bin Abu Talib reported,

Fatimah, peace be upon her, complained of the hardship she suffered from grinding with the millstone. Word reached her that the Messenger of Allah ﷺ had received some captives, so she came to him to ask him for a servant, but she did not find him. She mentioned this to Ayesha. When the Prophet ﷺ came, Ayesha told him about it.He came to us after we had already gone to bed. We started to get up, but he said, "Stay where you are."I felt the coolness of his feet on my chest. Then he said, "Shall I direct you to something better than what you asked for? When you go to bed, say 'Allahu Akbar' thirty-four times, 'Alhamdulillah' thirty-three times, and 'Subhanallah' thirty-three times. That is better for you than what you asked for."

Bukhari 3113

Sahih

حدثنا بدل بن المحبر أخبرنا شعبة قال أخبرني الحكم قال سمعت ابن أبي ليلى

حدثنا علي

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

البخاري 3113صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Obligation of the fifth
Chapter
Evidence that the khums is for the needs of the Messenger of Allah ﷺ and the poor
Numbering
Darussalam 3113
Bukhari 3113