Narrated Abu Huraira:
A man came to the Prophet. The Prophet (ﷺ) sent a messenger to his wives (to bring something for that man to eat) but they said that they had nothing except water. Then Allah's Messenger (ﷺ) said, "Who will take this (person) or entertain him as a guest?" An Ansar man said, "I." So he took him to his wife and said to her, "Entertain generously the guest of Allah's Messenger (ﷺ) " She said, "We have got nothing except the meals of my 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 made her children sleep, and then stood up pretending to mend her lamp, but she put it off. Then both of them pretended to be eating, but they really went to bed hungry. In the morning the Ansari went to Allah's Messenger (ﷺ) who said, "Tonight Allah laughed or wondered at your action." Then Allah revealed: "But give them (emigrants) preference over themselves even though they were in need of that And whosoever is saved from the covetousness Such are they who will be successful." (59.9)
Narrated Abu Huraira:
A man came to Allah's Messenger (ﷺ) and said, "O Allah's Messenger! I am suffering from fatigue and hunger." The Prophet (ﷺ) sent (somebody) to his wives (to get something), but the messenger found nothing with them. Then Allah's Messenger (ﷺ) said (to his companions). "Isn't there anybody who can entertain this man tonight so that Allah may be merciful to him?" An Ansari man got up and said, "I (will, entertain him), O Allah's Messenger!" So he went to his wife and said to her, "This is the guest of Allah's Messenger, so do not keep anything away from him." She said. "By Allah, I have nothing but the children's food." He said, "When the children ask for their dinner, put them to bed and put out the light; we shall not take our meals tonight," She did so. In the morning the Ansari man went to Allah's Messenger (ﷺ) who said, "Allah was pleased with (or He bestowed His Mercy) on so-and-so and his wife (because of their good deed)." Then Allah revealed: 'But give them preference over themselves even though they were in need of that.' (59.9)
Narrated Anas bin Malik:
Abu Bakr and Al-`Abbas passed by one of the gatherings of the Ansar who were weeping then. He (i.e. Abu Bakr or Al-`Abbas) asked, "Why are you weeping?" They replied, "We are weeping because we remember the gathering of the Prophet (ﷺ) with us." So Abu Bakr went to the Prophet (ﷺ) and told him of that. The Prophet (ﷺ) came out, tying his head with a piece of the hem of a sheet. He ascended the pulpit which he never ascended after that day. He glorified and praised Allah and then said, "I request you to take care of the Ansar as they are my near companions to whom I confided my private secrets. They have fulfilled their obligations and rights which were enjoined on them but there remains what is for them. So, accept the good of the good-doers amongst them and excuse the wrongdoers amongst them."
Narrated Usaid bin Hudair:
A man came to the Prophet (ﷺ) and said, "O Allah's Messenger! You appointed such-and-such person and you did not appoint me?" The Prophet (ﷺ) said, "After me you will see rulers not giving you your right (but you should give them their right) and be patient till you meet me."