Abu Qatada reported,

The Prophet ﷺ was on a journey, and the Messenger of Allah ﷺ turned aside, and I turned aside with him. He said, "Look."I said, "There is a rider. There are two riders. There are three," until we became seven.He said, "Keep watch over our prayer for us," meaning the dawn prayer. Then sleep overcame their ears, and nothing woke them but the heat of the sun.They got up and traveled a short distance, then dismounted and performed ablution. Bilal called the adhan, and they prayed the two units before dawn, then they prayed the dawn prayer and mounted their animals.Some of them said to one another, "We have been negligent regarding our prayer."The Prophet ﷺ said, "There is no negligence in sleep. Negligence is only in wakefulness. So whenever any of you forgets a prayer, let him pray it when he remembers it, and on the following day at its proper time."

Abu Dawud 437

Sahih

حدثنا موسى بن إسمعيل حدثنا حماد عن ثابت البناني عن عبد الله بن رباح الأنصاري

حدثنا أبو قتادة

أن النبي ﷺ كان في سفر له فمال رسول الله ﷺ وملت معه فقال انظر فقلت هذا راكب هذان راكبان هؤلاء ثلاثة حتى صرنا سبعة فقال احفظوا علينا صلاتنا يعني صلاة الفجر فضرب على آذانهم فما أيقظهم إلا حر الشمس فقاموا فساروا هنية ثم نزلوا فتوضئوا وأذن بلال فصلوا ركعتي الفجر ثم صلوا الفجر وركبوا فقال بعضهم لبعض قد فرطنا في صلاتنا فقال النبي ﷺ إنه لا تفريط في النوم إنما التفريط في اليقظة فإذا سها أحدكم عن صلاة فليصلها حين يذكرها ومن الغد للوقت

أبو داود 437صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Whoever slept through the prayer or forgot it
Numbering
Darussalam 437
Abu Dawud 437