Compiled by Imam Yahya ibn Sharaf al-Nawawi
وعن أنس رضي الله عنه أن رسول الله صلى الله عليه وسلم أخر ليلة صلاة العشاء إلى شطر الليل ثم أقبل علينا بوجهه بعدما صلى فقال: "صلى الناس ورقدوا ولم تزالوا في صلاة منذ انتظرتموها" ((رواه البخاري))
Once the Messenger of Allah (ﷺ) delayed the night prayer ('Isha') till midnight. He (ﷺ) turned to us after Salat (prayer) and said, "The people slept after performing their Salat, but you who waited, will be accounted as engaged in Salat throughout the period of your waiting."[Al-Bukhari].