صحيح البخاري
From Sahih Bukhari (Hadith 3336):
Narrated Aishah (ra):I heard the Prophet (ﷺ), "Souls are like recruited troops: Those who are like qualities are inclined to each other, but those who have dissimilar qualities, differ
Reference: Bukhari 3336