Dua #1112•At-Tirmidhi, An-Nasa'i 1/279 and Al-Hakim. See also Al-Albani, Sahih At-Tirmidhi 3/183, and Jdmi'ul-'Usool with Al-Arna'ut's checking 4/144.

Seeking forgiveness and repentance

Hisnul Muslim
#1112

وَقَالَ صلى الله عليه وسلم: أَقْرَبُ مَا يَكُونُ الرَّبُّ مِنَ الْعَبْدِ فِي جَوْفِ اللَّيْلِ الآخِرِ فَإِنِ اسْتَطَعْتَ أَنْ تَكُونَ مِمَّنْ يَذْكُرُ اللَّهَ فِي تِلْكَ السَّاعَةِ فَكُنْ

Translation

Abu Umamah [may Allah be pleased with him] said:`Amr bin `Abasah reported to me that he heard the Prophet (ﷺ) say: “The closest that the Lord is to a worshipper is during the last part of the night, so if you are able to be of those who remember Allah in that hour, then do so.”