Abu Saeed Khudri reported,

The Messenger of Allah ﷺ led us in the Maghrib prayer, then did not come out to us until half the night had passed. When he finally came out, he led them in prayer and said, "The people have prayed and gone to sleep, but you have remained in prayer as long as you waited for it. Were it not for the weakness of the weak and the illness of the sick, I would have ordered this prayer to be delayed until half the night."

Nasai 539

Sahih

أخبرنا عمران بن موسى قال حدثنا عبد الوارث قال حدثنا داود عن أبي نضرة

عن أبي سعيد الخدري قال

صلى بنا رسول الله ﷺ صلاة المغرب ثم لم يخرج إلينا حتى ذهب شطر الليل فخرج فصلى بهم ثم قال إن الناس قد صلوا وناموا وأنتم لم تزالوا في صلاة ما انتظرتم الصلاة ولولا ضعف الضعيف وسقم السقيم لأمرت بهذه الصلاة أن تؤخر إلى شطر الليل

النسائي 539صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Times of prayer
Chapter
Last time for Isha
Numbering
Darussalam 539
Nasai 539