Bara bin Azib reported,

When the fasting of Ramadan was prescribed, the people would not approach their wives throughout the entire month of Ramadan. Some men, however, were betraying themselves, so Allah revealed, "Allah knows that you used to deceive yourselves, so He accepted your repentance and pardoned you" [Baqarah 2:187].

Bukhari 4508

Sahih

حدثنا عبيد الله عن إسرائيل عن أبي إسحاق عن البراء ح و حدثنا أحمد بن عثمان حدثنا شريح بن مسلمة قال حدثني إبراهيم بن يوسف عن أبيه عن أبي إسحاق قال سمعت

البراء رضي الله عنه

لما نزل صوم رمضان كانوا لا يقربون النساء رمضان كله وكان رجال يخونون أنفسهم فأنزل الله {علم الله أنكم كنتم تختانون أنفسكم فتاب عليكم وعفا عنكم}

البخاري 4508صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
It has been made lawful for you, on the night of fasting, to approach your wives. They are a garment for you and you are a garment for them. Allah knows that you used to deceive yourselves, so He turned to you in forgiveness and pardoned you. So now have relations with them and seek what Allah has ordained for you
Numbering
Darussalam 4508
Bukhari 4508