Mishkat al-Masabih
Mishkat al-Masabih 1296
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: (كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَرْغَبُ فِي قِيَامِ رَمَضَانَ مِنْ غَيْرِ أَنْ يَأْمُرَهُمْ فِيهِ بِعَزِيمَةٍ فَيَقُولُ: «مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ. فَتُوُفِّيَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ والمر عَلَى ذَلِكَ ثُمَّ كَانَ الْأَمْرُ عَلَى ذَلِكَ فِي خِلَافَةِ أَبِي بَكْرٍ وَصَدْرًا مِنْ خِلَافَةِ عمر على ذَلِك» . رَوَاهُ مُسلم
Abu Huraira reported that the Messenger of God encouraged prayer during the nights of Ramadan without making it a binding command. He would say: Whoever spends the nights of Ramadan in prayer, with faith and seeking its reward, will have his previous sins forgiven. The Messenger of God died while this remained the practice; it continued during Abu Bakr’s caliphate and the early part of Umar’s caliphate. Muslim transmitted it.