Asim Ahwal reported,

I asked Anas bin Malik, "Has it reached you that the Prophet ﷺ said, 'There is no alliance in Islam'?"He replied, "The Prophet ﷺ established an alliance between Quraysh and the Ansar in my very house."

Azami 14104

Sahih

عن عاصم الأحول، قال

قلت لأنس بن مالك: أبلغك أن النبي ﷺ قال: لا حلف في الإسلام فقال: قد حالف النبي ﷺ بين قريش والأنصار في داري.

الأعظمي 14104صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Characteristics of Muslims, and their rights upon one another
Section
Brotherhood and alliance
Numbering
Jami al-Kamil 14104 (2nd edition)
Azami 14104