Abu Hurairah reported,

A man came to the Messenger of Allah ﷺ and said, "Messenger of Allah, hardship has struck me."So he sent word to his wives, but found nothing with them. The Messenger of Allah ﷺ then said, "Is there not a man who will host this person tonight, may Allah have mercy on him?"A man from the Ansar stood up and said, "I will, Messenger of Allah."He went to his family and said to his wife, "This is the guest of the Messenger of Allah ﷺ. Do not hold back anything from him."She said, "By Allah, I have nothing except the children's food."He said, "When the children want their dinner, put them to sleep and come, then put out the lamp, and we will tighten our bellies tonight."So she did. Then in the morning, the man went to the Messenger of Allah ﷺ, who said, "Allah عز وجل has marveled," or "laughed at what so-and-so and his wife did." Then Allah عز وجل revealed, "And they prefer others over themselves, even though they themselves are in need" [Hashr 59:9].

Azami 13658

Sahih

عن أبي هريرة قال

أتى رجل رسول الله ﷺ، فقال: يا رسول الله، أصابني الجهد، فأرسل إلى نسائه فلم يجد عندهن شيئا، فقال رسول الله ﷺ: ألا رجل يضيفه هذه الليلة، يرحمه الله؟ فقام رجل من الأنصار فقال: أنا يا رسول الله، فذهب إلى أهله، فقال لامرأته: ضيف رسول الله ﷺ، لا تدخريه شيئا. قالت: والله ما عندي إلا قوت الصبية. قال: فإذا أراد الصبية العشاء فنوميهم وتعالي، فأطفئي السراج، ونطوي بطوننا الليلة، ففعلت، ثم غدا الرجل على رسول الله ﷺ، فقال: لقد عجب الله عز وجل أو ضحك من فلان وفلانة فأنزل الله عز وجل: {ويؤثرون على أنفسهم ولو كان بهم خصاصة}[الحشر: ٩].

الأعظمي 13658صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Insan
Section
His saying, "And they give food in spite of love for it to the needy, the orphan, and the captive. We feed you only for the countenance of Allah. We wish not from you reward or gratitude."
Numbering
Jami al-Kamil 13658 (2nd edition)
Azami 13658