Sahih Bukhari – Hadith No : 600

Narrated Qurra bin Khalid: Once he waited for Al-Hasan and he did not show up till it was about the usual time for him to start his speech; then he came and apologized saying, “Our neighbors invited us.” Then he added, “Narrated Anas, ‘Once we waited for the Prophet till it was midnight or about midnight. He came and led the prayer, and after finishing it, he addressed us and said, ‘All the people prayed and then slept and you had been in prayer as long as you were waiting for it.” Al-Hasan said, “The people are regarded as performing good deeds as long as they are waiting for doing good deeds.” Al-Hasan’s statement is a portion of Anas’s [??] Hadith from the Prophet .

Hadith In Arabic Text :

حدثنا عبد الله بن الصباح، قال حدثنا أبو علي الحنفي، حدثنا قرة بن خالد، قال انتظرنا الحسن وراث علينا حتى قربنا من وقت قيامه، فجاء فقال دعانا جيراننا هؤلاء‏.‏ ثم قال قال أنس نظرنا النبي صلى الله عليه وسلم ذات ليلة حتى كان شطر الليل يبلغه، فجاء فصلى لنا، ثم خطبنا فقال ‏”‏ ألا إن الناس قد صلوا ثم رقدوا، وإنكم لم تزالوا في صلاة ما انتظرتم الصلاة ‏”‏‏.‏ قال الحسن وإن القوم لا يزالون بخير ما انتظروا الخير‏.‏ قال قرة هو من حديث أنس عن النبي صلى الله عليه وسلم‏.‏

Chapter : Times of the Prayers – كتاب مواقيت الصلاة