I said to Anas bin Malik, "Did it reach you that the Prophet (ﷺ) said, "There is no treaty of brotherhood in Islam'?" Anas said, "The Prophet (ﷺ) made a treaty (of brotherhood) between the Ansar and the Quraish in my home."
Sahih al-Bukhari Book 78, Hadith 111