Language:
كتاب فضائل أصحاب النبى صلى الله عليه وسلم
62  
Companions of the Prophet
(9)
Chapter: The merits of 'Ali bin Abi Talib رضي الله عنه
(9)
باب مَنَاقِبُ عَلِيِّ بْنِ أَبِي طَالِبٍ الْقُرَشِيِّ الْهَاشِمِيِّ أَبِي الْحَسَنِ رضى الله عنه
Sahih al-Bukhari 3706

Narrated `Ali:

Fatima complained of the suffering caused to her by the hand mill. Some Captives were brought to the Prophet, she came to him but did not find him at home `Aisha was present there to whom she told (of her desire for a servant). When the Prophet (ﷺ) came, Aisha informed him about Fatima's visit. `Ali added "So the Prophet (ﷺ) came to us, while we had gone to our bed I wanted to get up but the Prophet (ﷺ) said, "Remain at your place". Then he sat down between us till I found the coolness of his feet on my chest. Then he said, "Shall I teach you a thing which is better than what you have asked me? When you go to bed, say, 'Allahu-Akbar' thirty-four times, and 'Subhan Allah thirty-three times, and 'Al hamdu-li l-lah thirty-three times for that is better for you both than a servant."

حَدَّثَنِي مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا غُنْدَرٌ، حَدَّثَنَا شُعْبَةُ، عَنْ سَعْدٍ، قَالَ سَمِعْتُ إِبْرَاهِيمَ بْنَ سَعْدٍ، عَنْ أَبِيهِ، قَالَ النَّبِيُّ صلى الله عليه وسلم لِعَلِيٍّ ‏ "‏ أَمَا تَرْضَى أَنْ تَكُونَ مِنِّي بِمَنْزِلَةِ هَارُونَ مِنْ مُوسَى ‏"‏‏.‏
Reference : Sahih al-Bukhari 3706
In-book reference : Book 62, Hadith 0
USC-MSA web (English) reference : Vol. 5, Book 57, Hadith 55
  (deprecated numbering scheme)