Sahih Bukhari Volume 1, Book 12, Hadith Number 808
Narated By Anas bin Malik : Once the Prophet delayed the ‘Isha’ prayer until midnight and then came to us. Having prayed he faced us and said, “The people had prayed and slept but you were in the prayer as long as you were waiting for it.”