Ayesha reported,

A man came to the Messenger of Allah ﷺ and said, "I am ruined!"The Messenger of Allah ﷺ asked, "Why?"He replied, "I had relations with my wife during the day in Ramadan."The Prophet ﷺ said, "Give in charity, give in charity."The man said, "I have nothing."So he instructed him to sit down, and then two large baskets containing food were brought to him. The Messenger of Allah ﷺ told him to give it away in charity.

Azami 4551

Sahih

عن عائشة أنها قالت

جاء رجل إلى رسول الله ﷺ، فقال: احترقت قال رسول الله ﷺ: لم؟ قال: وطئت امرأتي في رمضان نهارا. قال: تصدق، تصدق. قال: ما عندي شيء، فأمره أن يجلس، فجاءه عرقان فيهما طعام، فأمره رسول الله ﷺ أن يتصدق به.

الأعظمي 4551صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
What is permitted and what is not permitted for the fasting person
Section
Prohibition of intercourse during the daytime in Ramadan for the fasting person and the obligation of expiation upon one who has intercourse during it
Numbering
Jami al-Kamil 4551 (2nd edition)
Azami 4551