Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) said: When the Prophet (peace and blessings be upon him) and his Companions came to Madinah and the Ansar gave them refuge, all the Arabs united against them. So this verse was revealed concerning that: "He will surely make them successors in the land."
Al-Tabarani recorded it in al-Mu'jam al-Awsat, and its narrators are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب التفسير / 11237