It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) saying: "The Muhajirun, the Ansar, the Tulaqa' of Quraysh (those pardoned at the conquest of Makkah) and the Utaqa' of Thaqif (those who were freed): they are all allies of one another in this world and the Hereafter."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10370