Language:
كتاب الرقاق
81  
To make the Heart Tender (Ar-Riqaq)
(18)
Chapter: The adoption of a middle course, and the regularity of deeds
(18)
باب الْقَصْدِ وَالْمُدَاوَمَةِ عَلَى الْعَمَلِ
Sahih al-Bukhari 6463

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "The deeds of anyone of you will not save you (from the (Hell) Fire)." They said, "Even you (will not be saved by your deeds), O Allah's Messenger (ﷺ)?" He said, "No, even I (will not be saved) unless and until Allah bestows His Mercy on me. Therefore, do good deeds properly, sincerely and moderately, and worship Allah in the forenoon and in the afternoon and during a part of the night, and always adopt a middle, moderate, regular course whereby you will reach your target (Paradise).

حَدَّثَنَا آدَمُ، حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ، عَنْ سَعِيدٍ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لَنْ يُنَجِّيَ أَحَدًا مِنْكُمْ عَمَلُهُ ‏"‏‏.‏ قَالُوا وَلاَ أَنْتَ يَا رَسُولَ اللَّهِ قَالَ ‏"‏ وَلاَ أَنَا، إِلاَّ أَنْ يَتَغَمَّدَنِي اللَّهُ بِرَحْمَةٍ، سَدِّدُوا وَقَارِبُوا، وَاغْدُوا وَرُوحُوا، وَشَىْءٌ مِنَ الدُّلْجَةِ‏.‏ وَالْقَصْدَ الْقَصْدَ تَبْلُغُوا ‏"‏‏.‏
Reference : Sahih al-Bukhari 6463
In-book reference : Book 81, Hadith 52
USC-MSA web (English) reference : Vol. 8, Book 76, Hadith 470
  (deprecated numbering scheme)