Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:11917ʿAffān > Ḥammād b. Salamah > Bishr b. Ḥarb > Abū Saʿīd al-Khudrī

[Machine] The Prophet ﷺ prohibited sexual intercourse during fasting, but his companions continued doing so until he allowed them from nightfall until daybreak.  

أحمد:١١٩١٧حَدَّثَنَا عَفَّانُ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ أَخْبَرَنَا بِشْرُ بْنُ حَرْبٍ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ

أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنِ الْوِصَالِ فِي الصَّوْمِ فَلَمْ يَزَلْ بِهِ أَصْحَابُهُ حَتَّى رَخَّصَ لَهُمْ مِنَ السَّحَرِ إِلَى السَّحَرِ