Abu Hurairah reported the Prophet (ﷺ) as saying:The spirits are in marshaled hosts; those who know one another will be friendly, and those who do not, will keep apart
Hadith No. 4834
Sunan Abu Dawud
Gradings:
Al-Albani:
Daif
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih Muslim (2638)