Sunan an-Nasa'i, Book 6, Hadith 122 (Nasa'i 617)

It was narrated that Abu Qatadah said:

"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.'"