Abu Hurairah reported,

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

Muslim 5360

Sahih

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

عن أبي هريرة

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

مسلم 5360صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Drinks
Chapter
Honoring the guest and the virtue of preferring him
Numbering
Darussalam 5360
Muslim 5360