A man came to the Messenger of Allah ﷺ and said, "Messenger of Allah ﷺ, I am overcome by hardship."The Prophet sent word to his wives, but found nothing with them. So the Messenger of Allah ﷺ said, "Is there no man who will host this guest tonight, that Allah may 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 replied, "By Allah, I have nothing except the children's food."He said, "When the children want their dinner, put them to sleep and come over. Then put out the lamp, and we will tighten our bellies tonight."She did so. The next morning the man went to the Messenger of Allah ﷺ, who said, "Allah was amazed," or "laughed at what such-and-such a man and such-and-such a woman did." Then Allah
revealed, "And they give preference over themselves, even though they are in need" [Hashr 59:9].
أتى رجل رسول الله ﷺ، فقال: يارسول الله ﷺ، أصابني الجهد، فأرسل إلى نسائه فلم يجد عندهن شيئا، فقال رسول الله ﷺ: ألا رجل يضيفه هذه الليلة، يرحمه الله؟ فقام رجل من الأنصار فقال: أنا يا رسول الله، فذهب إلى أهله، فقال لامرأته: ضيف رسول الله ﷺ، لا تدخريه شيئا. قالت: والله ما عندي إلا قوت الصبية. قال: فإذا أراد الصبية العشاء فنوميهم وتعالي، فأطفئي السراج، ونطوي بطوننا الليلة، ففعلت، ثم غدا الرجل على رسول الله ﷺ، فقال: لقد عجب الله عز وجل أو ضحك من فلان وفلانة فأنزل الله عز وجل: {ويؤثرون على أنفسهم ولو كان بهم خصاصة}.
Bukhari narrated it in the Tafsir (4889), and Muslim in the Drinks (2054), both by way of Fudayl bin Ghazwan, who said, Abu Hazim Ashjai told us, from Abu Hurairah, who said what has already been mentioned. The wording given is Bukhari's, and Muslim's wording is similar. In one version reported by Muslim, "Then a man from the Ansar stood up, called Abu Talha."As for His saying, "and whoever is protected from the covetousness of his own soul" [reference to the verse on shuhh], shuhh (with the "shin" pronounced with a "u" sound) is an intense craving embedded in the soul that is difficult to part with. Allah Most High said, "and souls are led by their covetousness" [Nisa 4:128], meaning no soul is free of it. So whoever wishes to protect his soul from shuhh must train it in beautiful traits and virtues, for miserliness is merely the effect of shuhh. If the soul is trained in generosity and open-handedness, shuhh departs and miserliness is removed from it. But whoever fails to train his soul falls into the shuhh of the soul, which may drive its owner to commit forbidden acts, among them taking people's wealth unjustly.It is reported that a man said to Abdullah bin Masud, "I fear that I may have been destroyed."He said, "What do you mean?"The man said, "I hear Allah saying, 'and whoever is protected from the covetousness of his own soul, those are the ones who are successful,' and I am a stingy man, hardly anything ever leaves my hand."Abdullah said, "That is not the shuhh that Allah mentioned in the Quran. Rather, shuhh is that you consume your brother's wealth wrongfully. What you describe is miserliness, and miserliness is a wretched thing."Ibn Jareer narrated it in his Tafsir (22/529) from Ibn Humayd, who said, Yahya bin Wadih told us, who said, Masudi told us, from Ashath, from Abu Shatha, from his father, who said, a man came to Ibn Masud, and then he mentioned what has already been related. Masudi's memory became mixed up in his later years. However, he himself, along with Hakim (2/490) and Bayhaqi in Shuab al-Iman (10347), all narrated it through another route, from Jami bin Shaddad, from Aswad bin Hilal, who said, a man came to Ibn Masud, and he related something similar.Hakim said, "Sahih according to the criteria of the two Shaykhs."Something similar to this has also been narrated from Ibn Umar, Saeed bin Jubayr, and others.