Anas bin Malik reported,

Someone said to him, "Has it reached you that the Messenger of Allah ﷺ said, 'There is no alliance in Islam'?"He became angry and replied, "Of course there is, of course there is. The Messenger of Allah ﷺ established an alliance between Quraysh and the Ansar in his own house."

Ahmad 13986

Sahih

حدثنا عفان حدثنا حفص بن غياث حدثنا عاصم الأحول قال

سمعت أنسا وقال

له قائل بلغك أن رسول الله ﷺ قال لا حلف في الإسلام قال فغضب ثم قال بلى بلى قد حالف رسول الله ﷺ بين قريش والأنصار في داره

أحمد 13986صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 13986
Ahmad 13986