to a considerable extent, and that would lead people to be lax about sleeping through the prayers.
As for scholarly consensus, more than one scholar has reported it.
His statement, “and he must make it up,” indicates that the prayer of a sleeper and those in similar circumstances, when performed after its time has ended, is regarded as a make-up prayer. Shaykh al-Islam Ibn Taymiyyah held that whoever performs a prayer after its time due to a valid excuse has performed it in its proper time (1), because the Prophet ﷺ set the sleeper’s prayer time as the time when he awakens, and the forgetful person’s as the time when he remembers.
Or fainting, intoxication, or the like …
His statement, “or fainting,” means that one whose intellect has been suspended by fainting must make up the prayer. Fainting is a complete overwhelming of the intellect, such that a person has no awareness whatsoever; if you were to try to awaken him, he would not awaken.
If a person remains unconscious for one or two prayer-times, he must make them up. This has been reported from some of the Companions, such as Ammar ibn Yasir (2), and it is also analogous to sleep. This is the well-known position in the school of Imam Ahmad ibn Hanbal.
The other three imams hold that making up the prayers is not obligatory for one who has fallen unconscious