English translation
3798. Narrated Abū Hurairah رَضِيَ اللَّهُ عَنْهُ: A man came to the Prophet ﷺ (as a guest), so he ﷺ sent a messenger to his wives (to bring something for that man to eat) but they said that they had nothing except water. Then Allāh's Messenger ﷺ said, "Who will take this (person), or entertain him as a guest?" A man from the Anšār said, "I." So he took him to his wife and said to her, "Entertain generously the guest of Allāh's Messenger ﷺ". She said, "We have got nothing except the meals of our children." He said, "Prepare your meal, light your lamp and let your children sleep if they ask for supper." So, she prepared her meal, lighted her lamp and make her children sleep, and then stood up pretending to mend her lamp, but she put it off. Then both of them (the husband and wife) pretended to be eating, but they really went to bed hungry. In the morning the Anšārī went to Allāh's Messenger ﷺ who said, "Tonight Allāh laughed, or wondered at your action."
Then Allāh revealed :
“...And give them (emigrants) preference over themselves, even though they were in need of that. And whosoever is saved from his own covetousness, such are they who will be the successful.” (V.59:9)
Arabic text
3798 - حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ دَاوُدَ، عَنْ فُضَيْلِ بْنِ غَزْوَانَ، عَنْ أَبِي حَازِمٍ، عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ، أَنَّ رَجُلًا أَتَى النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَبَعَثَ إِلَى نِسَائِهِ فَقُلْنَ: مَا مَعَنَا إِلَّا المَاءُ، فَقَالَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «مَنْ يَضُمُّ أَوْ يُضِيفُ هَذَا»، فَقَالَ رَجُلٌ مِنَ الأَنْصَارِ: أَنَا، فَانْطَلَقَ بِهِ إِلَى امْرَأَتِهِ، فَقَالَ: أَكْرِمِي ضَيْفَ رَسُولِ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَقَالَتْ: مَا عِنْدَنَا إِلَّا قُوتُ صِبْيَانِي، فَقَالَ: هَيِّئِي طَعَامَكِ، وَأَصْبِحِي سِرَاجَكِ، وَنَوِّمِي صِبْيَانَكِ إِذَا أَرَادُوا عَشَاءً، فَهَيَّأَتْ طَعَامَهَا، وَأَصْبَحَتْ سِرَاجَهَا، وَنَوَّمَتْ صِبْيَانَهَا، ثُمَّ قَامَتْ كَأَنَّهَا تُصْلِحُ سِرَاجَهَا فَأَطْفَأَتْهُ، فَجَعَلاَ يُرِيَانِهِ أَنَّهُمَا يَأْكُلاَنِ، فَبَاتَا طَاوِيَيْنِ، فَلَمَّا أَصْبَحَ غَدَا إِلَى رَسُولِ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَقَالَ: «ضَحِكَ اللَّهُ اللَّيْلَةَ، أَوْ عَجِبَ، مِنْ فَعَالِكُمَا» فَأَنْزَلَ اللَّهُ: {وَيُؤْثِرُونَ عَلَى أَنْفُسِهِمْ وَلَوْ كَانَ بِهِمْ خَصَاصَةٌ وَمَنْ يُوقَ شُحَّ نَفْسِهِ فَأُولَئِكَ هُمُ المُفْلِحُونَ} [الحشر: 9]