Ali bin Abu Talib reported,

Fatimah complained to me about the blisters on her hands from grinding flour, so I said, "If only you went to your father and asked him for a servant."She went to him, and he said, "Shall I not guide you to something better for you than a servant? When you take to your beds, say thirty-three times, thirty-three times, and thirty-four times, of praise, glorification, and magnification of Allah."The hadith contains a longer story.

Tirmidhi 3408

Sahih

حدثنا أبو الخطاب زياد بن يحيى البصري حدثنا أزهر السمان عن ابن عون عن ابن سيرين عن عبيدة

عن علي رضي الله عنه قال

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

الترمذي 3408صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
Tasbih, takbir, and tahmid before sleep
Numbering
Darussalam 3408
Tirmidhi 3408