He was stationed at a frontier post when the people rushed in alarm toward the coast. Then it was said, "There is no danger," so the people dispersed, but Abu Hurairah remained standing.A man passed by him and asked, "What keeps you standing here, Abu Hurairah?"He replied, "I heard the Messenger of Allah ﷺ say, 'Standing guard for an hour in the path of Allah is better than spending Laylat al-Qadr in prayer beside the Black Stone.'"
أنه كان في الرباط، ففزعوا إلى الساحل، ثم قيل: لا بأس، فانصرف الناس، وأبو هريرة واقف، فمر به إنسان، فقال: ما يوقفك يا أبا هريرة؟ فقال: سمعت رسول الله ﷺ يقول: موقف ساعة في سبيل الله خير من قيام ليلة القدر عند الحجر الأسود.
No references are available.
Ibn Hibban (4603) and Bayhaqi in Shuab al-Iman (4286) both narrated it via the route of Abbas bin Abdullah Tarqafi, who said, Abu Abdul-Rahman Muqri narrated to us, Saeed bin Abu Ayub narrated to us, Abu Aswad Muhammad bin Abdul-Rahman narrated to me, from Mujahid, from Abu Hurairah, who said, then he related it. Its chain of transmission is sahih, and Mujahid heard from Abu Hurairah, as Ibn Hibban made clear following the mentioned hadith.Something of similar meaning has been narrated from Ibn Umar as a marfu report, "Shall I not inform you of a night better than Laylat al-Qadr? A guard who keeps watch in a land of fear, perhaps not returning to his family." This was narrated by Nasai in Al-Kubra (8817), and Hakim (2/81-82), and from him Bayhaqi (9/149), both from the hadith of Yahya bin Saeed Qattan, who said, Thawr bin Yazid narrated to us, from Abdul-Rahman bin Aaidh, from Mujahid bin Rabah, from Ibn Umar, then he related it.Hakim said, "This is a sahih hadith meeting the standard of Bukhari, though the two of them did not include it." Waki bin Jarra, however, narrated it from Thawr as a stopped (mawquf) report. And in Yahya bin Saeed there is an exemplary figure to follow.I say, in its chain of transmission is Mujahid bin Rabah, whom none of the compilers of the standard books included except Nasai in Al-Kubra, for this single hadith, and no one deemed him reliable except that Ibn Hibban mentioned him among his trustworthy narrators. Moreover, there has been disagreement over whether the hadith is raised (marfu) or stopped (mawquf), for Yahya bin Saeed would sometimes raise it and sometimes stop it.Muhammad bin Bashshar said, When Yahya narrated it before a large gathering he would not raise it, but when he narrated it in private, among his close associates, he would raise it.Daraqutni, in Al-Ilal (12/415), has set out the disagreement over Thawr bin Yazid, and over Yahya bin Saeed Qattan, and stated decisively that the stopped version is the correct one.