Hadithcore
Sahih al-Bukhari, 1915
sahih

Narrated Al-Bara:

It was the custom among the companions of Muhammad that if any of them was fasting and the food was presented (for breaking his fast), but he slept before eating, he would not eat that night and the following day till sunset. Qais bin Sirma-al-Ansari was fasting and came to his wife at the time of Iftar (breaking one's fast) and asked her whether she had anything to eat. She replied, "No, but I would go and bring some for you." He used to do hard work during the day, so he was overwhelmed by sleep and slept. When his wife came and saw him, she said, "Disappointment for you." When it was midday on the following day, he fainted and the Prophet (ﷺ) was informed about the whole matter and the following verses were revealed: "You are permitted To go to your wives (for sexual relation) At the night of fasting." So, they were overjoyed by it. And then Allah also revealed: "And eat and drink Until the white thread Of dawn appears to you Distinct from the black thread (of the night)." (2:187)

حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ إِسْرَائِيلَ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ ـ رضى الله عنه ـ قَالَ كَانَ أَصْحَابُ مُحَمَّدٍ صلى الله عليه وسلم إِذَا كَانَ الرَّجُلُ صَائِمًا، فَحَضَرَ الإِفْطَارُ، فَنَامَ قَبْلَ أَنْ يُفْطِرَ لَمْ يَأْكُلْ لَيْلَتَهُ وَلاَ يَوْمَهُ، حَتَّى يُمْسِيَ، وَإِنَّ قَيْسَ بْنَ صِرْمَةَ الأَنْصَارِيَّ كَانَ صَائِمًا، فَلَمَّا حَضَرَ الإِفْطَارُ أَتَى امْرَأَتَهُ، فَقَالَ لَهَا أَعِنْدَكِ طَعَامٌ قَالَتْ لاَ وَلَكِنْ أَنْطَلِقُ، فَأَطْلُبُ لَكَ‏.‏ وَكَانَ يَوْمَهُ يَعْمَلُ، فَغَلَبَتْهُ عَيْنَاهُ، فَجَاءَتْهُ امْرَأَتُهُ، فَلَمَّا رَأَتْهُ قَالَتْ خَيْبَةً لَكَ‏.‏ فَلَمَّا انْتَصَفَ النَّهَارُ غُشِيَ عَلَيْهِ، فَذُكِرَ ذَلِكَ لِلنَّبِيِّ صلى الله عليه وسلم فَنَزَلَتْ هَذِهِ الآيَةُ ‏{‏أُحِلَّ لَكُمْ لَيْلَةَ الصِّيَامِ الرَّفَثُ إِلَى نِسَائِكُمْ‏}‏ فَفَرِحُوا بِهَا فَرَحًا شَدِيدًا، وَنَزَلَتْ ‏{‏وَكُلُوا وَاشْرَبُوا حَتَّى يَتَبَيَّنَ لَكُمُ الْخَيْطُ الأَبْيَضُ مِنَ الْخَيْطِ الأَسْوَدِ‏}‏‏.‏

References2 variants
In-Book Reference
Book 30, Hadith 25
USC-MSA web (English) reference
Vol. 3, Book 31, Hadith 139 (deprecated numbering scheme)
Sharh · explanationclick to expand
The wisdom of Allah, Exalted is He, entailed that the Quran should not be revealed all at once, but should rather be revealed on different occasions, to ensurethe gradual building and refinement of the Muslim community that He willed for Muslims.Therefore, the ayaat of the Quran were revealed to address the problems and emerging issues that arose. In this hadeeth, Al-Baraa’ ibn ‘Aazib(may Allah be pleased with him)related that when fasting was first made obligatory (in Ramadan), any ofthe Companions (may Allah be pleased with them)who happened to sleep before breaking his fast would not eat that night and would fast the following day,eating onlyafter the Maghrib prayer of the following day! They had a limited window of time to break their fast; from Maghrib prayer to the time when they went to bed that night. If anyone happened to sleep before breaking his fast, he would carry on with fasting on the following day, and then break his fast on the following day.The same was true for engagement in sexual intercourse with their wives. He (may Allah be pleased with him) also stated that Qays ibn Sirmah Al-Ansaaree(may Allah be pleased with him) was fasting oneday and went to his wife at the time of Maghrib prayer asking her for the Iftaar (fast-breaking) meal. She told him that she hadn’t any food butsought his permission to go and fetch him some. Exhausted after his workday, hefell asleep while waiting for her. When his wife came back and saw him asleep, she said: "Disappointment for you," meaning,“what a deprivation.” Thiswas a commonly used expression for someone who missed out on an attainment to which he aspired. Qays (may Allah be pleased with him)did not eat anything that night and woke up on the following dayand observed fasting. When hewas halfway through the day, he fainted, and the incident was reported to the Prophet ﷺ. On that occasion, Allah, Exalted is He, revealed the ayah that reads (meaning): {It has been made permissible for you the night preceding fasting to go to your wives [for sexual relations]. They are clothing for you and you are clothing for them. Allah knows that you used to deceive yourselves, so He accepted your repentance and forgave you. So now, have relations with them and seek that which Allah has decreed for you. And eat and drink until the white thread of dawn becomes distinct to you from the black thread [of night]. Then complete the fast until the sunset. And do not have relations with them as long as you are staying for worship in the mosques. These are the limits [set by] Allah, so do not approach them. Thus does Allah make clear His ordinances to the people that they may become righteous.} [Quran 2:187].The ayah means that it is deemed allowable for you to engage in sexual intercourses with your wives, eat, and drink at any time of the night until the white thread of dawn becomes distinct to you from the black thread (of night). At that point of the night, it is obligatory on them to abstain from eating, drinking and sexual intercourse until sunset. The Companions(may Allah be pleased with them)were overjoyed. .
Related hadiths3
Compare isnād across 3 related chains →