Hadith 1227

Abu Umama reported God’s Messenger as saying, “Make a practice of getting up at night, for it was the custom of the pious before you, is a means of bringing you near to your Lord, an atonement for evil deeds and a preventative of sin." Tirmidhi transmitted it.

عَنْ أَبِي أُمَامَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «عَلَيْكُمْ بِقِيَامِ اللَّيْلِ فَإِنَّهُ دَأْبُ الصَّالِحِينَ قَبْلَكُمْ وَهُوَ قُرْبَةٌ لَكُمْ إِلَى رَبِّكُمْ وَمَكْفَرَةٌ لِلسَّيِّئَاتِ وَمَنْهَاةٌ عَنِ الْإِثْمِ» . رَوَاهُ التِّرْمِذِيّ

Reference: 5612270
In-book reference: Book 4, Hadith 1227