Sayyidah Aishah (may Allah be pleased with her) said that a man came to the Messenger of Allah (peace and blessings be upon him) and said: I am ruined, O Messenger of Allah! He (peace and blessings be upon him) said: "Why?" He said: I had intercourse during the daytime in Ramadan. He (peace and blessings be upon him) said: "Give charity, give charity." He said: I have nothing. He (peace and blessings be upon him) told him to sit down; then two baskets containing food were brought to him (peace and blessings be upon him), and he (peace and blessings be upon him) ordered that they be given in charity. In one narration it says that he (peace and blessings be upon him) ordered him to wait, then a basket of food came to him (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Give this in charity."
The narration of Ibn Bukayr regarding the basket is more authentic, because it agrees with all the other narrations from al-Layth and with the narration of Abd al-Wahhab al-Thaqafi and Yazid bin Harun from Yahya bin Sa'id.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8050