Hadith on Altruism: Believers prefer others over their own selves

Abu Huraira reported: A man from the Ansar was hosting a guest and he had nothing with him but just enough food for himself and his children. The man said to his wife, “Put the children to sleep, put out the lamp, and serve our guest with what we have.” Then, Allah revealed the verse, “They prefer others over their own selves, despite themselves being in need.” (59:9)

Source: Ṣaḥīḥ al-Bukhārī 3587, Ṣaḥīḥ Muslim 2054

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ أَبِي هُرَيْرَةَ أَنَّ رَجُلًا مِنْ الْأَنْصَارِ بَاتَ بِهِ ضَيْفٌ فَلَمْ يَكُنْ عِنْدَهُ إِلَّا قُوتُهُ وَقُوتُ صِبْيَانِهِ فَقَالَ لِامْرَأَتِهِ نَوِّمِي الصِّبْيَةَ وَأَطْفِئْ السِّرَاجَ وَقَرِّبِي لِلضَّيْفِ مَا عِنْدَكِ قَالَ فَنَزَلَتْ هَذِهِ الْآيَةُ وَيُؤْثِرُونَ عَلَى أَنْفُسِهِمْ وَلَوْ كَانَ بِهِمْ خَصَاصَةٌ

3587 صحيح البخاري كتاب مناقب الأنصار باب قول الله ويؤثرون على أنفسهم ولو كان بهم خصاصة

2054 صحيح مسلم كِتَاب الْأَشْرِبَةِ قد عجب الله من صنيعكما بضيفكما الليلة