Sahih al-Bukhari, Hadith 847 ⓘ
Narrated Anas bin Malik: Once the Prophet delayed the `Isha' prayer until midnight and then came to us. Having prayed he faced us and said, "The people had prayed and slept but you were in the prayer as long as you were waiting for it."
حَدَّثَنَا عَبْدُ اللَّهِ، سَمِعَ يَزِيدَ، قَالَ أَخْبَرَنَا حُمَيْدٌ، عَنْ أَنَسٍ، قَالَ أَخَّرَ رَسُولُ اللَّهِ صلى الله عليه وسلم الصَّلاَةَ ذَاتَ لَيْلَةٍ إِلَى شَطْرِ اللَّيْلِ ثُمَّ خَرَجَ عَلَيْنَا، فَلَمَّا صَلَّى أَقْبَلَ عَلَيْنَا بِوَجْهِهِ فَقَالَ " إِنَّ النَّاسَ قَدْ صَلَّوْا وَرَقَدُوا، وَإِنَّكُمْ لَنْ تَزَالُوا فِي صَلاَةٍ مَا انْتَظَرْتُمُ الصَّلاَةَ " .
also referenced under: Book 10, Hadith 239 (In-Book) & Volume 1, Book 12, Hadith 808 (USC-MSA)