Yes, you may and must pray Fajr when you wake, even after sunrise. Fajr properly ends when the sun rises, so praying it later is technically a make-up prayer (qada'), but the Prophet (saw) taught that someone who slept through a prayer should pray it as soon as they remember. The key is that the delay was not deliberate.
- The proof: 'Whoever forgets a prayer should pray it when he remembers it' (Sahih al-Bukhari 597, from Anas (ra)).
- Sin: there is no sin for sleeping through a prayer, but deliberate delay without a valid excuse is a serious fault.
- Scholars differ: some Hanafi jurists advise waiting until the sun has risen about a spear's length before praying; the other schools say to pray at once.
- The remedy: fix the cause (bedtime, alarms, wake-up help) and make intention to pray on time a daily commitment.
Introduction
Many Muslims, especially students and shift workers, wake after sunrise and wonder whether Fajr is still valid, whether they should pray two or four rak'ahs and whether they have sinned. The questioner here wakes around 7 am and asks whether Fajr can still be performed. The short answer is yes, and the longer answer is worth knowing because it shows how the law balances the strict timing of prayer with mercy for human weakness.
This answer explains when Fajr begins and ends, what the Prophet (saw) taught about sleeping through a prayer, how the schools differ on praying just after sunrise, whether the Sunna prayer is made up as well, and what practical steps help a person stop missing the prayer. The evidence is taken from the two Sahih collections and from the standard legal manuals, and the points of disagreement are named.
When Fajr begins and ends
The time for Fajr begins at true dawn (al-fajr al-sadiq), the horizontal band of white light that spreads across the eastern horizon, and ends at sunrise. This is the agreed position of the four schools, and it rests on the hadith of the times of prayer in Sahih Muslim (Book of Mosques and Places of Prayer) which says that the time of the Fajr prayer lasts until the sun rises. Mosque timetables list sunrise (shuruq) separately from Fajr for precisely this reason: the time between the two is the window in which the prayer is valid as an 'on-time' prayer.
If you wake after sunrise, you have therefore missed the on-time window, but the Prophet (saw) taught a very merciful rule for someone who still catches a part of it:
Abu Huraira (ra) reported that the Prophet (saw) said that whoever catches one rak'a of the Fajr prayer before the sun rises has caught the Fajr prayer (Sahih al-Bukhari 579, repeated for Asr before sunset). Scholars differ on how far this extends: most hold that it makes the whole prayer count as on time for someone who has a valid excuse, such as one who wakes with the sun just appearing; others limit the concession to what it states.
What the Prophet (saw) taught about sleeping through a prayer
Anas (ra) reported that the Prophet (saw) said: whoever forgets a prayer should pray it when he remembers it, and there is no expiation for it other than that (Sahih al-Bukhari 597). Sleep is treated alongside forgetfulness in the wording of the related reports in Sahih Muslim. The principle is that Allah does not hold a person to account for what is outside their control, and the person's duty is to pray as soon as they are aware.
A further indication comes from the account, reported in the two Sahihs, of the Prophet (saw) and his Companions sleeping through the dawn on a journey. They woke after the sun had risen, moved from the place, called the adhan, prayed the two rak'ahs of the Sunna and then the obligatory prayer. The incident shows three things: that even the Companions slept through Fajr, that the correct response was to pray at once, and that the Sunna rak'ahs before the obligatory prayer were not dropped. The wording differs between narrations on the details, so cite the general sense and not a single version.
The Qur'an adds a reminder that frames the whole discussion:
وَأَقِمِ الصَّلَاةَ لِذِكْرِي
And establish prayer for My remembrance. (Qur'an 20:14)
Several jurists, including those who quote this verse with the hadith of the forgetful person, derive from it that the obligation is renewed whenever one remembers.
Is it a sin?
Sleeping through the prayer, when the person had no intention of missing it, is not a sin. The legal maxim is that actions are judged by their intention, and the Prophet (saw) said that the pen is lifted from the sleeper until he wakes (reported in the Sunan and graded sahih by al-Albani; the sense is also supported by the verse 'Allah does not burden a soul beyond its capacity', 2:286).
Deliberate delay is different. The Qur'an warns:
فَخَلَفَ مِن بَعْدِهِمْ خَلْفٌ أَضَاعُوا الصَّلَاةَ وَاتَّبَعُوا الشَّهَوَاتِ
Then there came after them successors who neglected prayer and followed their desires. (Qur'an 19:59)
Jurists conclude that a person who knows he sleeps heavily and does nothing about it is partly responsible, because the means were in his hands. This is why the practical steps below matter as much as the legal ruling.
Praying just after sunrise: where the schools differ
The Prophet (saw) forbade voluntary prayer at three moments: when the sun is rising, at its zenith and when it is setting (Sahih Muslim, Book of Prayer of Travellers). Jurists differ on whether a missed obligatory prayer may be prayed at those moments. The Shafi'i and Hanbali schools, and the Maliki school in the main, permit a make-up prayer at once because of the hadith 'when he remembers it'. Some Hanafi jurists hold that the exact moment of sunrise is forbidden even for an obligatory prayer that is being made up, and advise waiting for roughly fifteen to twenty minutes, until the sun has risen about a spear's length, before praying. If you wake while the sun is still appearing on the horizon, you may follow the school you usually follow, or the one your teacher recommends, and you should not worry that either course is wrong.
If you are certain that sunrise has passed, there is no difference of opinion: pray immediately.
What to pray
Pray the two rak'ahs of the Fajr Sunna first, then the two obligatory rak'ahs, in the same order as on time, as in the report of the Prophet (saw) after the night on the journey. Some jurists say it is better to pray the obligatory prayer first if you are late for work or study; the Sunna prayer may then be made up after the prayer or after sunrise, as the Shafi'is and Hanbalis permit. The obligation is the two rak'ahs of Fajr; the Sunna is a bonus of great reward, since the Prophet (saw) described the two rak'ahs of Fajr as better than the world and all it contains (Sahih Muslim).
The deliberate misser: can the prayer be made up?
The majority of jurists hold that a person who deliberately missed a prayer must still make it up and repent. A minority, including Ibn Hazm in al-Muhalla and, according to some of his statements, Ibn Taymiyya, held that a prayer deliberately delayed beyond its time cannot be made valid by making it up, and that the person should seek forgiveness and increase voluntary acts. Both groups agree that the offence is serious and that repentance is required. If you are unsure which category you fall into, the safe course is to pray as soon as possible, repent sincerely and fix the cause.
Practical steps
Sleep earlier, since lack of sleep is the main cause. Set more than one alarm and place it away from the bed. Ask a family member or friend to ring you; the Prophet (saw) asked Bilal (ra) to keep watch for the dawn on the night journey. Pray Isha and Witr before bed so that you do not fall asleep before them. Make wudu before sleeping, since the Prophet (saw) recommended sleeping in a state of purity (reported in the two Sahihs). And turn to Allah in the evening with sincere intention to wake for His remembrance.
Conclusion
Fajr may be prayed when you wake, even after sunrise. It is then a make-up prayer, and there is no sin for sleeping through it, while deliberate delay is a serious matter that calls for repentance. Hanafi scholars advise a short wait after sunrise before praying; other schools say to pray at once. Fix the cause so that the problem does not become a habit.
References
Qur'an 2:286, 19:59, 20:14, 51:17 to 18, 3:17
Sahih al-Bukhari 579 (one rak'a before sunrise); 597 (the one who forgets a prayer)
Sahih Muslim, Book of Mosques and Places of Prayer (times of prayer; the sleeping on the journey; the two rak'ahs of Fajr)
Sunan Abi Dawud and Sunan Ibn Majah (the pen is lifted from the sleeper; graded sahih by al-Albani)
Ibn Qudama, al-Mughni, Book of Prayer
al-Nawawi, al-Majmu', on make-up prayers
Ibn Hazm, al-Muhalla, on deliberate delay