Sahih al-Bukhari
Sahih al-Bukhari 2008
Arabic hadith text
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، قَالَ أَخْبَرَنِي أَبُو سَلَمَةَ، أَنَّ أَبَا هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ لِرَمَضَانَ " مَنْ قَامَهُ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ".
Translation
Yaḥyā ibn Bukayr related to us: al-Layth related to us, from ʿUqayl, from Ibn Shihāb, who said: Abū Salamah informed me that Abū Hurayrah (may Allah be pleased with him) said: I heard the Messenger of Allah (Allah bless him and grant him peace) say regarding Ramaḍān: ‘Whoever spends its nights in prayer, out of faith and seeking reward, will have his past sins forgiven.’