Al-Ilmam bi-Ahadith al-Ahkam 543
عَن أبي هُرَيْرَة، رَضِيَ اللَّهُ عَنْه أَن رَسُول الله ﷺ قَالَ: " من قَامَ رَمَضَان إِيمَانًا واحتساباً غُفر لَهُ مَا تقدم من ذَنبه ". قَالَ ابْن شهَاب: فَتوفي رَسُول الله ﷺ وَالْأَمر عَلَى ذَلِك، ثمَّ كَانَ الْأَمر عَلَى ذَلِك فِي خلَافَة أبي بكر، وصدراً من خلَافَة عمر. (لفظ البُخَارِيّ) .
From Abu Hurayrah, may Allah be pleased with him, that the Messenger of Allah ﷺ said: "Whoever stands [in prayer] in Ramadan out of faith and seeking reward, his previous sins are forgiven." Ibn Shihab said: The Messenger of Allah ﷺ died with the matter like that, then the matter remained like that during the caliphate of Abu Bakr and the early part of the caliphate of ʿUmar. (The wording is al-Bukhari's.)