Riyad as-SalihinChapter 8Hadith 384
Full Sharh — Riyad as-Salihin 384
وعن أنس رضي الله عنه أن رسول الله صلى الله عليه وسلم أخر ليلة صلاة العشاء إلى شطر الليل ثم أقبل علينا بوجهه بعدما صلى فقال: "صلى الناس ورقدوا ولم تزالوا في صلاة منذ انتظرتموها" ((رواه البخاري))
English Translation
Anas (May Allah be pleased with him) reported:: 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.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
384