Sahih al-Bukhari Book 69, Hadith 18
A man came to the Prophet (ﷺ) and said, "I am ruined!" The Prophet (ﷺ) said, "Why?" He said, "I had sexual
intercourse with my wife while fasting (in the month of Ramadan)." The Prophet (ﷺ) said to him,
"Manumit a slave (as expiation)." He replied, "I cannot afford that." The Prophet (ﷺ) said, "Then fast for
two successive months." He said, "I cannot." The Prophet (ﷺ) said, "Then feed sixty poor persons." He
said, "I have nothing to do that." In the meantime a basket full of dates was brought to the Prophet (ﷺ) .
He said, "Where is the questioner." The man said, "I am here." The Prophet (ﷺ) said (to him), "Give this
(basket of dates) in charity (as expiation)." He said, "O Allah's Messenger (ﷺ)! Shall I give it to poorer
people than us? By Him Who sent you with the Truth, there is no family between Medina's two
mountains poorer than us." The Prophet (ﷺ) smiled till his pre-molar teeth became visible. He then said,
"Then take it."
My father died and left seven or nine girls and I married a matron. Allah's Messenger (ﷺ) said to me, "O Jabir! Have you married?" I said, "Yes." He said, "A virgin or a matron?" I replied, "A matron." he said, "Why not a virgin, so that you might play with her and she with you, and you might amuse her and she amuse you." I said, " `Abdullah (my father) died and left girls, and I dislike to marry a girl like them, so I married a lady (matron) so that she may look after them." On that he said, "May Allah bless you," or "That is good."
I said, "O Allah's Messenger (ﷺ)! Shall I get a reward (in the Hereafter) if I spend on the children of Abu Salama and do not leave them like this and like this (i.e., poor) but treat them like my children?" The Prophet said, "Yes, you will be rewarded for that which you will spend on them."