Abu Hurairah reported,

A man from the Ansar had a guest spend the night with him, and he had nothing except enough food for himself and his children. He said to his wife, "Put the children to sleep, extinguish the lamp, and bring out for the guest whatever you have." Then this verse was revealed, "They give preference over themselves, even though they are in need" [Hashr 59:9].This hadith is hasan sahih.

Tirmidhi 3304

Sahih

حدثنا أبو كريب حدثنا وكيع عن فضيل بن غزوان عن أبي حازم

عن أبي هريرة

أن رجلا من الأنصار بات به ضيف فلم يكن عنده إلا قوته وقوت صبيانه فقال لامرأته نومي الصبية وأطفئي السراج وقربي للضيف ما عندك فنزلت هذه الآية {ويؤثرون على أنفسهم ولو كان بهم خصاصة} هذا حديث حسن صحيح

الترمذي 3304صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Hashr
Numbering
Darussalam 3304
Tirmidhi 3304