Anas bin Malik reported,

The Prophet ﷺ delayed the Isha prayer until midnight, then prayed and said, "The people have prayed and gone to sleep. As for you, you have been in prayer for as long as you waited for it."

Azami 3041

Sahih

عن أنس قال

أخر النبي صلاة العشاء إلى نصف الليل، ثم صلى ثم قال: قد صلى الناس وناموا، أما إنكم في صلاة ما انتظرتموها.

الأعظمي 3041صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Staying in the mosques and waiting for the prayer
Numbering
Jami al-Kamil 3041 (2nd edition)
Azami 3041