[Machine] As for the conditions of fasting, the Messenger of Allah ﷺ came to Madinah and started fasting three days in every month, as well as observing the fast on the day of Ashura. Later, Allah made fasting obligatory and revealed the verse: "O you who have believed, decreed upon you is fasting as it was decreed upon those before you" [Qur'an 2:183] until the verse "And upon those who are able [to fast], a ransom [as substitute] of feeding a poor person [each day]" [Qur'an 2:184]. Thus, whoever wished, fasted, and whoever wished, fed a poor person, and this was permissible. Then, Allah revealed another verse: "The month of Ramadhan [is that] in which was revealed the Qur'an" [Qur'an 2:185] until the verse "So whoever sights [the new moon of] the month, let him fast it" [Qur'an 2:185]. Allah made fasting obligatory for the resident who is capable and eased it for the sick and the traveler. He also made feeding required for the elderly who are unable to fast. These were the two options available, and they used to eat and drink during the night and have sexual relations until they slept. However, if they slept, they abstained from all that until dawn. Then, there was a man from the Ansar known as Sirmah who used to work while fasting until the evening, then he went to his family, performed the Isha prayer, and slept without eating or drinking until morning, thus remaining in the state of fasting. I (the narrator) also joined him once, so we slept and woke up while fasting. As for Umar, he had a sexual relationship with a slave girl or a free woman after sleeping, and he mentioned it to the Prophet ﷺ . Allah then revealed the verse: "It has been made lawful for you to approach your wives during the nights of the fast. They are clothing for you and you are clothing for them" [Qur'an 2:187] until the verse "Then complete the fast until the night" [Qur'an 2:187].
أَمَّا أَحْوَالُ الصِّيَامِ فَإِنَّ رَسُولَ اللَّهِ ﷺ قَدِمَ الْمَدِينَةَ فَجَعَلَ يَصُومُ مِنْ كُلِّ شَهْرٍ ثَلَاثَةَ أَيَّامٍ وَصِيَامُ يَوْمِ عَاشُورَاءَ ثُمَّ إِنَّ اللَّهَ فَرَضَ عَلَيْهِ الصِّيَامَ فَأَنْزَلَ اللَّهُ {يَا أَيُّهَا الَّذِينَ آمَنُوا كُتِبَ عَلَيْكُمُ الصِّيَامُ كَمَا كُتِبَ عَلَى الَّذِينَ مِنْ قَبْلِكُمْ} [البقرة 183] إِلَى هَذِهِ الْآيَةِ {وَعَلَى الَّذِينَ يُطِيقُونَهُ فِدْيَةٌ طَعَامُ مِسْكِينٍ} [البقرة 184] فَكَانَ مَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَطْعَمَ مِسْكِينًا فَأَجْزَأَ ذَلِكَ عَنْهُ ثُمَّ إِنَّ اللَّهَ أَنْزَلَ الْآيَةَ الْأُخْرَى {شَهْرُ رَمَضَانَ الَّذِي أُنْزِلَ فِيهِ الْقُرْآنُ} [البقرة 185] إِلَى قَوْلِهِ تَعَالَى {فَمَنْ شَهِدَ مِنْكُمُ الشَّهْرَ فَلْيَصُمْهُ} [البقرة 185] فَأَثْبَتَ اللَّهُ صِيَامَهُ عَلَى الْمُقِيمِ الصَّحِيحِ وَرَخَّصَ فِيهِ لِلْمَرِيضِ وَلِلْمُسَافِرِ وَثَبَتَ الْإِطْعَامُ لِلْكَبِيرِ الَّذِي لَا يَسْتَطِيعُ الصِّيَامَ فَهَذَانِ حَوْلَانِ وَكَانُوا يَأْكُلُونَ وَيَشْرَبُونَ وَيَأْتُونَ النِّسَاءَ مَا لَمْ يَنَامُوا فَإِذَا نَامُوا امْتَنَعُوا ثُمَّ إِنَّ رَجُلًا مِنَ الْأَنْصَارِ يُقَالُ لَهُ صِرْمَةُ كَانَ يَعْمَلُ صَائِمًا حَتَّى أَمْسَى فَجَاءَ إِلَى أَهْلِهِ فَصَلَّى الْعِشَاءَ ثُمَّ نَامَ فَلَمْ يَأْكُلْ وَلَمْ يَشْرَبْ حَتَّى أَصْبَحَ فَأَصْبَحَ صَائِمًا فَأَلْقَيْتُ نَفْسِي فَنِمْتُ وَأَصْبَحَتْ صَائِمًا وَكَانَ عُمَرُ قَدْ أَصَابَ مِنَ النِّسَاءِ مِنْ جَارِيَةٍ أَوْ حُرَّةٍ بَعْدَمَا نَامَ فَأَتَى النَّبِيَّ ﷺ فَذَكَرَ ذَلِكَ لَهُ فَأَنْزَلَ اللَّهُ {أُحِلَّ لَكُمْ لَيْلَةَ الصِّيَامِ الرَّفَثُ إِلَى نِسَائِكُمْ} [البقرة 187] إِلَى قَوْلِهِ {ثُمَّ أَتِمُّوا الصِّيَامَ إِلَى اللَّيْلِ} [البقرة 187]