[Machine] The Messenger of Allah ﷺ said, "Angels sit at the doors of the mosque on the day of Friday and record the arrival of people until the Imam comes out. When the Imam comes out, the records are folded and the pens are lifted. Then the angels say to each other, 'What has prevented so-and-so from attending?' Then they say, 'O Allah, if he is sick, cure him; if he is lost, guide him; if he is in need, enrich him.'"
أَنَّ رَسُولَ اللهِ ﷺ قَالَ تَقْعُدُ مَلَائِكَةٌ عَلَى أَبْوَابِ الْمَسْجِدِ يَوْمَ الْجُمُعَةِ يَكْتُبُونَ مَجِيءَ النَّاسِ حَتَّى يَخْرُجَ الْإِمَامُ فَإِذَا خَرَجَ الْإِمَامُ طُوِيَتِ الصُّحُفُ وَرُفِعَتِ الْأَقْلَامُ قَالَ فَتَقُولُ الْمَلَائِكَةُ بَعْضُهُمْ لِبَعْضٍ مَا حَبَسَ فُلَانًا وَمَا حَبَسَ فُلَانًا قَالَ فَتَقُولُ الْمَلَائِكَةُ اللهُمَّ إِنْ كَانَ مَرِيضًا فَاشْفِهِ وَإِنْ كَانَ ضَالًّا فَاهْدِهِ وَإِنْ كَانَ عَائِلًا فَاغْنِهِ