It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him): "When the Muhajirun came to Madinah, they stayed with the Ansar in their homes. Then they said: O Messenger of Allah (peace and blessings be upon him)! We have not seen any people like those with whom we have stayed, so excellent in sharing when they have little and so open-handed in spending when they have much. They have made us partners in the fruits of a pleasant life and have spared us the toil and labour (that is, relieved us of the burden), so much so that we have begun to fear they may take away all the reward. The Messenger of Allah (peace and blessings be upon him) said: 'No, it is not so, as long as you keep praying to Allah Almighty for them and praising them (that is, acknowledging their kindness).'"
Ahmad bin Mani' recorded it with a sahih (authentic) chain, and it has a shahid (supporting narration) in the Book of Manners, in the chapter on praying for one who does good.