The Messenger of Allah ﷺ said, "Quraysh, the Ansar, Aslam, Ghifar, Mazina, Juhayna, and Ashja are my allies. They have no patron besides Allah and His Messenger."
حدثنا بشر بن المفضل حدثنا عبد الرحمن بن إسحاق عن سعد بن إبراهيم عن عبد الرحمن الأعرج
قال رسول الله ﷺ قريش والأنصار وأسلم وغفار ومزينة وجهينة وأشجع موالي ليس لهم دون الله ولا رسوله مولى
Its isnad is sahih, it has already appeared at 7891, and Tirmidhi narrated it with its wording, 5/728 no. 3940, in the Book of Virtues, chapter on the virtues of Ghifar and Aslam, and Ibn Abu Shayba, 12/197 no. 12527, in the Book of Virtues, and with a similar wording Bukhari, /218, in the Book of Virtues, chapter on the virtues of Quraysh, and Muslim, 4/1954 no. 2520, in the Book of the Virtues of the Companions, in the section on the virtues of Ghifar and Aslam.