Sahih Muslim
The Book of Mosques and Places of Prayer — Hadith #1464
Scholarly Consensus: Sahih How we grade
وَحَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنِي أَبِي، حَدَّثَنَا الْمُثَنَّى، عَنْ قَتَادَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم
" إِذَا رَقَدَ أَحَدُكُمْ عَنِ الصَّلاَةِ أَوْ غَفَلَ عَنْهَا فَلْيُصَلِّهَا إِذَا ذَكَرَهَا فَإِنَّ اللَّهَ يَقُولُ أَقِمِ الصَّلاَةَ لِذِكْرِي " .
When any one of you omits the prayer due to sleep or he forgets it, he should observe it when he remembers it, for Allah has said:” Observe prayer for remembrance of Me.”
Chain of Narration (Isnad)
Hadith Grading
Each grade below reflects one scholar's assessment of the chain of transmission. The grade describes the chain, not the Prophet's words. How we grade
Scholarly Consensus: Sahih