Sahih Muslim · Hadith 6876
The Book of Virtue; Good Manners and Joining of the Ties of Relationship - كتاب البر والصلة والآداب
حدثنا قتيبة بن سعيد، حدثنا عبد العزيز، - يعني ابن محمد - عن سهيل، عن أبيه، عن أبي هريرة، أن رسول الله صلى الله عليه وسلم قال " الأرواح جنود مجندة فما تعارف منها ائتلف وما تناكر منها اختلف " .
Abu Huraira reported Allah's Messenger (may peace be upon him) Saying: Souls are troops collected together and those who familiarised with each other (in the heaven from where these come) would have affinity, with one another (in the world) and those amongst them who opposed each other (in the Heaven) would also be divergent (in the world).
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).