Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “The souls are troops collected together. They come close upon what they recognize, and they differ upon what they reject.”
Source: Ṣaḥīḥ al-Bukhārī 3109, Ṣaḥīḥ Muslim 2638
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
Al-Nawawi said, “When bodies meet in the world, they come together or differ according to how they were created. The righteous will incline to the righteous, and the evil will incline to the evil.”
Source: Sharḥ al-Nawawī ‘alá Ṣaḥīḥ Muslim 2638
عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ الْأَرْوَاحُ جُنُودٌ مُجَنَّدَةٌ فَمَا تَعَارَفَ مِنْهَا ائْتَلَفَ وَمَا تَنَاكَرَ مِنْهَا اخْتَلَفَ
3109 صحيح البخاري كتاب أحاديث الأنبياء باب الأرواح جنود مجندة
2638 صحيح مسلم كتاب البر والصلة والآداب باب الأرواح جنود مجندة
قال النووي فَإِذَا تَلَاقَتِ الْأَجْسَادُ فِي الدُّنْيَا ائْتَلَفَتْ وَاخْتَلَفَتْ بِحَسَبِ مَا خُلِقَتْ عَلَيْهِ فَيَمِيلُ الْأَخْيَارُ إِلَى الْأَخْيَارِ وَالْأَشْرَارُ إِلَى الْأَشْرَارِ
2638 شرح النووي على مسلم