← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #4307 · Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh))

Narrated Al-Bara':

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

When the order of compulsory fasting of Ramadan was revealed, the people did not have sexual
relations with their wives for the whole month of Ramadan, but some men cheated themselves (by
violating that restriction). So Allah revealed: "Allah is aware that you were deceiving yourselves but
He accepted your repentance and forgave you.." (3.187)