Sayyidina Abu Qatadah (RA) said that the sahabah asked the Prophet (SAW) about being asleep at the time of prayer. He said, "Indeed there is no squandering in sleep. Only when one is awake is there negligence (if one does not offer Salah). So, if anyone forgets a Salah or oversleeps then he must observe it when he remembers it."