Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, encouraged standing for night prayer in the month of Ramadan, without imposing it on them. The Prophet would say, “Whoever stands in prayer during Ramadan due to faith and seeking reward, his previous sins will be forgiven.” After the Prophet passed away the matter continued like that, then continued like that during the Caliphate of Abu Bakr and in the early part of the Caliphate of Umar.
Source: Ṣaḥīḥ al-Bukhārī 2009, Ṣaḥīḥ Muslim 759
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي هُرَيْرَةَ قَالَ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُرَغِّبُ فِي قِيَامِ رَمَضَانَ مِنْ غَيْرِ أَنْ يَأْمُرَهُمْ فِيهِ بِعَزِيمَةٍ فَيَقُولُ مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ فَتُوُفِّيَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَالْأَمْرُ عَلَى ذَلِكَ ثُمَّ كَانَ الْأَمْرُ عَلَى ذَلِكَ فِي خِلَافَةِ أَبِي بَكْرٍ وَصَدْرًا مِنْ خِلَافَةِ عُمَرَ عَلَى ذَلِكَ
2009 صحيح البخاري كتاب صلاة التراويح باب فضل من قام رمضان
759 صحيح مسلم كتاب صلاة المسافرين وقصرها باب الترغيب في قيام رمضان وهو التراويح