Ali bin Abu Talib reported,

Fatimah complained about the blisters she suffered on her hands from grinding at the millstone, so she came to the Prophet ﷺ to ask him for a servant, but she did not find him. She mentioned this to Ayesha, and when he came, Ayesha informed him.Ali said, "He came to us when we had already settled into bed. I started to get up, but he said, 'Stay where you are.' He sat down between us until I felt the coolness of his feet on my chest."Then he said, "Shall I guide you to something better for you than a servant? When you go to your bed, or settle down to sleep, say 'Allahu Akbar' thirty-three times, 'Subhan Allah' thirty-three times, and 'Alhamdulillah' thirty-three times. This is better for you than a servant."Wazad added in another narration that Ali said, "I have never abandoned it since I heard it from the Prophet ﷺ."He was asked, "Not even on the night of Siffin?"He replied, "Not even on the night of Siffin."

Azami 11249

Sahih

عن علي

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

الأعظمي 11249صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Morning and evening supplications
Section
Supplications and remembrances narrated when going to sleep and when waking up
Numbering
Jami al-Kamil 11249 (2nd edition)
Azami 11249