Abu Qatada reported,

They mentioned to the Prophet ﷺ their having slept past the prayer, and he said, "There is no negligence in sleep. Negligence is only in wakefulness. So when one of you forgets a prayer or sleeps through it, let him pray it as soon as he remembers."

Tirmidhi 177

Sahih

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

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

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

الترمذي 177صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Sleeping through the prayer
Numbering
Darussalam 177
Tirmidhi 177