Hadithcore
Sahih Muslim, 2054 c
sahih

Abu Huraira reported that a man came to Allah's Messenger (ﷺ) so that he should entertain him as a guest, but he had nothing with which he could entertain him. He, therefore, asked if there was any person who would entertain him (assuring the audience) that Allah would show mercy to him. A person from the Ansar who was called Abu Talha stood up and he took him to his house. The rest of the hadith is the same and mention is (also) made in that about the revelation of the verse as narrated by Waki'.

وَحَدَّثَنَاهُ أَبُو كُرَيْبٍ، حَدَّثَنَا ابْنُ فُضَيْلٍ، عَنْ أَبِيهِ، عَنْ أَبِي حَازِمٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم لِيُضِيفَهُ فَلَمْ يَكُنْ عِنْدَهُ مَا يُضِيفُهُ فَقَالَ ‏

‏ أَلاَ رَجُلٌ يُضِيفُ هَذَا رَحِمَهُ اللَّهُ ‏

‏ ‏.‏ فَقَامَ رَجُلٌ مِنَ الأَنْصَارِ يُقَالُ لَهُ أَبُو طَلْحَةَ فَانْطَلَقَ بِهِ إِلَى رَحْلِهِ ‏.‏ وَسَاقَ الْحَدِيثَ بِنَحْوِ حَدِيثِ جَرِيرٍ وَذَكَرَ فِيهِ نُزُولَ الآيَةِ كَمَا ذَكَرَهُ وَكِيعٌ ‏.‏

References2 variants
In-Book Reference
Book 36, Hadith 235
USC-MSA web (English) reference
Book 23, Hadith 5102 (deprecated numbering scheme)