عن أَبي هريرة - رضي الله عنه - أنَّ رسول الله - صلى الله عليه وسلم - قَالَ: «مَنْ قَامَ رَمَضَانَ إيمانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ». متفقٌ عَلَيْهِ.
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever stands (in prayer during the nights of) Ramadan out of faith and seeking reward, his past sins are forgiven."
(Agreed upon)
وعنه - رضي الله عنه - قَالَ: كَانَ رسولُ اللهِ - صلى الله عليه وسلم - يُرَغِّبُ في قِيَامِ رَمَضَانَ مِنْ غَيْرِ أَنْ يَأمُرَهُمْ فِيهِ بِعَزِيمَةٍ، فيقولُ: «مَنْ قَامَ رَمَضَانَ إيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ». رواه مسلم.
It is narrated from him (Sayyiduna Abu Hurayrah, may Allah be pleased with him) that he said: The Messenger of Allah (peace and blessings be upon him) used to encourage standing (in prayer) in Ramadan, but without giving them a firm command about it, and he would say: "Whoever stands (in prayer during the nights of) Ramadan out of faith and seeking reward, his past sins are forgiven."
(Narrated by Muslim)