(69) باب الدَّفْنِ بِاللَّيْلِ وَدُفِنَ أَبُو بَكْرٍ ـ رضى الله عنه ـ لَيْلاً
Narrated Ibn `Abbas:
The Prophet (p.b.u.h) offered the funeral prayer of a man one night after he was buried, he and his companions stood up (for the Prayer). He had asked them about him before standing, saying, "Who is this?" They said, "He is so and so and was buried last night." So all of them offered the funeral prayer.
Reference: Sahih al-Bukhari 1340
In-book reference: Book 23, Hadith 96
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 23, Hadith 424