When the Messenger of Allah ﷺ was returning from the campaign of Khaybar, he traveled by night until, when drowsiness overtook him, he stopped to rest. He said to Bilal, "Keep watch over the night for us."So Bilal prayed as much as was decreed for him, while the Messenger of Allah ﷺ and his companions slept. As dawn drew near, Bilal leaned against his mount facing the direction of dawn, but sleep overcame him as he leaned there. Neither the Messenger of Allah ﷺ nor Bilal nor any of his companions woke until the sun struck them. The Messenger of Allah ﷺ was the first of them to wake. Alarmed, he said, "Bilal!"Bilal replied, "The same thing that took hold of you took hold of me, may my father and mother be ransomed for you, Messenger of Allah."He said, "Lead the mounts forward."So they led their mounts forward a short distance. Then the Messenger of Allah ﷺ performed ablution and ordered Bilal to call the iqamah for the prayer, and he led them in the dawn prayer. When he finished the prayer, he said, "Whoever forgets a prayer, let him pray it when he remembers it, for Allah has said, 'Establish the prayer for My remembrance' [Ta-Ha 20:14]."Yunus said, Ibn Shihab used to recite it as "lil-dhikra."
حدثني حرملة بن يحيى التجيبي أخبرنا ابن وهب أخبرني يونس عن ابن شهاب عن سعيد بن المسيب
أن رسول الله ﷺ حين قفل من غزوة خيبر سار ليله حتى إذا أدركه الكرى عرس وقال لبلال اكلأ لنا الليل فصلى بلال ما قدر له ونام رسول الله ﷺ وأصحابه فلما تقارب الفجر استند بلال إلى راحلته مواجه الفجر فغلبت بلالا عيناه وهو مستند إلى راحلته فلم يستيقظ رسول الله ﷺ ولا بلال ولا أحد من أصحابه حتى ضربتهم الشمس فكان رسول الله ﷺ أولهم استيقاظا ففزع رسول الله ﷺ فقال أي بلال فقال بلال أخذ بنفسي الذي أخذ بأبي أنت وأمي يا رسول الله بنفسك قال اقتادوا فاقتادوا رواحلهم شيئا ثم توضأ رسول الله ﷺ وأمر بلالا فأقام الصلاة فصلى بهم الصبح فلما قضى الصلاة قال من نسي الصلاة فليصلها إذا ذكرها فإن الله قال {أقم الصلاة لذكري} قال يونس وكان ابن شهاب يقرؤها للذكرى