It was recorded by al-Bukhārī (1/357/247), Muslim (8/77), Abū Dāwūd (5046-5047), al-Tirmidhī (3569) who authenticated it, al-Nasāʾī (781 and 782), Ibn Ḥibbān (5511), and al-Ṭabarānī in "al-Duʿāʾ" (2/905/245), as well as Aḥmad (4/293) and al-Bayhaqī in "Shuʿab al-Īmān" (4/173/4704) through various chains from Manṣūr with it. It was also recorded by Muslim, al-Nasāʾī (783-785), Ibn Abī Shaybah (9/73/6577 and 10/246/9345), and Aḥmad (4/246) through various chains from Saʿd ibn ʿUbaydah with a similar narration. A third route: al-Ḥumaydī said in "Musnad" (316/723): Sufyān narrated to us, saying: Abū Isḥāq al-Hamdānī narrated to us, saying: I heard al-Barāʾ ibn ʿĀzib say: The Messenger of Allāh (ṣallá Allāhu ʿalayhi wa-sallam) used to say at his resting place, or he commanded that it be said at the resting place, or he commanded me to say at my resting place—Sufyān was uncertain which of these it was—he said: O Allāh... the ḥadīth. I said: This is a sound chain, directly connected through hearing from Sufyān—who is Ibn ʿUyaynah—to Abū Isḥāq—who is al-Sabīʿī—before his confusion, explicitly stating his hearing from al-Barāʾ, thus safeguarding against his tadlīs and confusion. However, Sufyān was uncertain in the text of the ḥadīth whether it was his (ṣallá Allāhu ʿalayhi wa-sallam) own practice to say it at his resting place, or if he commanded others to do so. Both aspects are supported by narrations from Abū Isḥāq through Sufyān and others from him, and from others, and here is the clarification: Firstly, from Sufyān ibn ʿUyaynah from him. It was recorded by al-Tirmidhī (3391), al-Ruyānī in "Musnad" (folio 84/2-85/1), and al-Ṭabarānī in "al-Duʿāʾ" (2/903/241) through various chains from him with the wording of command, the first with the wording:
أخرجه البخاري (١ / ٣٥٧ / ٢٤٧) ومسلم (٨ / ٧٧) وأبو داود (٥٠٤٦ - ٥٠٤٧) والترمذي (٣٥٦٩) وصححه، والنسائي (٧٨١ و ٧٨٢) وابن حبان (٥٥١١) والطبراني في "الدعاء" (٢ / ٩٠٥ / ٢٤٥) وكذا أحمد (٤ / ٢٩٣) والبيهقي في "شعب الإيمان" (٤ / ١٧٣ / ٤٧٠٤) من طرق عن منصور به. وأخرجه مسلم، والنسائي (٧٨٣ - ٧٨٥)، وابن أبي شيبة (٩ / ٧٣ / ٦٥٧٧ و١٠ / ٢٤٦ / ٩٣٤٥) وأحمد (٤ / ٢٤٦) من طرق عن سعد بن عبيدة به نحوه. طريق ثالثة: قال الحميدي في "مسنده" (٣١٦ / ٧٢٣): حدثنا سفيان قال: حدثنا أبو إسحاق الهمداني قال: سمعت البراء بن عازب يقول: كان رسول الله صلى الله عليه وسلم يقول عند مضجعه، أو أمر أن يقال عند المضجع، أو أمرني أن أقول عند مضجعي - شك فيه سفيان لا يدري أيتهن - قال: اللهم.. الحديث. قلت: وهذا إسناد صحيح متصل بالسماع من سفيان - وهو ابن عيينة - لأبي إسحاق - وهو السبيعي - قبل اختلاطه، مصرحا بسماعه من البراء، فأمنا بذلك تدليسه واختلاطه، لكن فيه شك سفيان في متن الحديث هل هو من فعله ﷺ كان يقوله عند مضجعه، أو أمر غيره به، وبكل من الأمرين جاءت به الروايات عن أبي إسحاق من رواية سفيان وغيره عنه، وعن غيره، وإليك البيان: أولا: عن سفيان بن عيينة عنه. أخرجه الترمذي (٣٣٩١) والروياني في "مسنده" (ق ٨٤ / ٢ - ٨٥ / ١) والطبراني في "الدعاء" (٢ / ٩٠٣ / ٢٤١) من طرق عنه بلفظ الأمر، الأول بلفظ: