Sunan an-Nasa'i
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ النَّاسَ قَدْ صَلُّوا وَنَامُوا وَأَنْتُمْ لَمْ تَزَالُوا فِي صَلاَةٍ مَا انْتَظَرْتُمُ الصَّلاَةَ وَلَوْلاَ ضَعْفُ الضَّعِيفِ وَسُقْمُ السَّقِيمِ لأَمَرْتُ بِهَذِهِ الصَّلاَةِ أَنْ تُؤَخَّرَ إِلَى شَطْرِ اللَّيْلِ "
It was narrated that Abu Sa'eed Al-Khudri said:
"The Messenger of Allah (ﷺ) led us in Maghrib prayer, then he did not come out to us until half the night had passed. Then he came out and led them in prayer, then he said: 'The people have prayed and gone to sleep, but you are still in a state of prayer so long as you are waiting for the prayer. Were it not for the weakness of the weak and, the sickness of the sick, I would have commanded that this prayer be delayed until halfway through the night.'"
Full reference and source
Sunan an-Nasa'i English : Vol. 1, Book 6, Hadith 539 Arabic : Book 6, Hadith 543
View source on Sunnah.com (opens in a new tab)