Sahih al-Bukhari
Sahih al-Bukhari 3211
حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ، حَدَّثَنَا ابْنُ شِهَابٍ، عَنْ أَبِي سَلَمَةَ، وَالأَغَرِّ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " إِذَا كَانَ يَوْمُ الْجُمُعَةِ كَانَ عَلَى كُلِّ باب مِنْ أَبْوَابِ الْمَسْجِدِ الْمَلاَئِكَةُ، يَكْتُبُونَ الأَوَّلَ فَالأَوَّلَ، فَإِذَا جَلَسَ الإِمَامُ طَوَوُا الصُّحُفَ وَجَاءُوا يَسْتَمِعُونَ الذِّكْرَ ".
Ahmad ibn Yunus narrated to us: Ibrahim ibn Saʿd narrated to us: Ibn Shihab narrated to us, from Abu Salama and al-Agharr, from Abu Hurayra (may Allah be pleased with him), who said: The Prophet (ﷺ) said: ‘On Friday, at every gate of the mosque, angels record the people in order, one after another. When the imam sits, they roll up the scrolls and come to listen to the remembrance.’
Translation notes
The English witness clarifies that the order is by time of arrival for Friday prayer; the Arabic says ‘first, then the next’ without spelling out the criterion.