Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:177Qutaybah > Ḥammād b. Zayd > Thābit al-Bunānī > ʿAbdullāh b. Rabāḥ al-Anṣārī > Abū Qatādah > Dhakarūā Lilnnabī ﷺ Nawmahum > al-Ṣalāh

"They asked the Prophet about when they sIept past the Salat. He said: 'There is no negligence in sleep, negligence is only while one is awake. So when one of you forgets a Salat, or sleeps through it, then let him pray it when he remembers it.'"  

الترمذي:١٧٧حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ الْبُنَانِيِّ عَنْ عَبْدِ اللَّهِ بْنِ رَبَاحٍ الأَنْصَارِيِّ عَنْ أَبِي قَتَادَةَ قَالَ

ذَكَرُوا لِلنَّبِيِّ ﷺ نَوْمَهُمْ عَنِ الصَّلاَةِ فَقَالَ إِنَّهُ لَيْسَ فِي النَّوْمِ تَفْرِيطٌ إِنَّمَا التَّفْرِيطُ فِي الْيَقَظَةِ فَإِذَا نَسِيَ أَحَدُكُمْ صَلاَةً أَوْ نَامَ عَنْهَا فَلْيُصَلِّهَا إِذَا ذَكَرَهَا وَفِي الْبَابِ عَنِ ابْنِ مَسْعُودٍ وَأَبِي مَرْيَمَ وَعِمْرَانَ بْنِ حُصَيْنٍ وَجُبَيْرِ بْنِ مُطْعِمٍ وَأَبِي جُحَيْفَةَ وَأَبِي سَعِيدٍ وَعَمْرِو بْنِ أُمَيَّةَ الضَّمْرِيِّ وَذِي مِخْبَرٍ وَيُقَالُ ذِي مِخْمَرٍ وَهُوَ ابْنُ أَخِي النَّجَاشِيِّ  

قَالَ أَبُو عِيسَى وَحَدِيثُ أَبِي قَتَادَةَ حَدِيثٌ حَسَنٌ صَحِيحٌ وَقَدِ اخْتَلَفَ أَهْلُ الْعِلْمِ فِي الرَّجُلِ يَنَامُ عَنِ الصَّلاَةِ أَوْ يَنْسَاهَا فَيَسْتَيْقِظُ أَوْ يَذْكُرُ وَهُوَ فِي غَيْرِ وَقْتِ صَلاَةٍ عِنْدَ طُلُوعِ الشَّمْسِ أَوْ عِنْدَ غُرُوبِهَا فَقَالَ بَعْضُهُمْ يُصَلِّيهَا إِذَا اسْتَيْقَظَ أَوْ ذَكَرَ وَإِنْ كَانَ عِنْدَ طُلُوعِ الشَّمْسِ أَوْ عِنْدَ غُرُوبِهَا وَهُوَ قَوْلُ أَحْمَدَ وَإِسْحَاقَ وَالشَّافِعِيِّ وَمَالِكٍ وَقَالَ بَعْضُهُمْ لاَ يُصَلِّي حَتَّى تَطْلُعَ الشَّمْسُ أَوْ تَغْرُبَ

See similar narrations below:

Collected by Nasāʾī
nasai:615Qutaybah > Ḥammād b. Zayd > Thābit > ʿAbdullāh b. Rabāḥ > Abū Qatādah > Dhakarūā Lilnnabī ﷺ Nawmahum > al-Ṣalāh

"They told the Prophet ﷺ that they had slept and missed the prayer. He said: 'There is no negligence when one sleeps, rather negligence is when one is awake. If any one of you forgets a prayer or sleeps and misses it, let him pray it when he remembers it.'"  

النسائي:٦١٥أَخْبَرَنَا قُتَيْبَةُ قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ عَبْدِ اللَّهِ بْنِ رَبَاحٍ عَنْ أَبِي قَتَادَةَ قَالَ

ذَكَرُوا لِلنَّبِيِّ ﷺ نَوْمَهُمْ عَنِ الصَّلاَةِ فَقَالَ إِنَّهُ لَيْسَ فِي النَّوْمِ تَفْرِيطٌ إِنَّمَا التَّفْرِيطُ فِي الْيَقَظَةِ فَإِذَا نَسِيَ أَحَدُكُمْ صَلاَةً أَوْ نَامَ عَنْهَا فَلْيُصَلِّهَا إِذَا ذَكَرَهَا