Abu Qatada reported,

They mentioned their negligence regarding sleep, saying that they had slept until the sun rose. The Messenger of Allah ﷺ said, "There is no negligence in sleep. Negligence lies only in wakefulness. So if any of you forgets a prayer or sleeps through it, let him pray it when he remembers, and let him pray it at its proper time the next day."Abdullah bin Rabah said, "Imran bin Husayn heard me as I was relating this hadith and said, 'Young man, look carefully at how you narrate this, for I was a witness to this event with the Messenger of Allah ﷺ.'" He said, and Imran did not object to anything in his account.

Ibn Majah 698

Sahih

حدثنا أحمد بن عبدة أنبأنا حماد بن زيد عن ثابت عن عبد الله بن رباح

عن أبي قتادة قال

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

ابن ماجه 698صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Prayer
Chapter
Whoever slept through the prayer or forgot it
Numbering
Darussalam 698
Ibn Majah 698