Ali reported: The Messenger of Allah, peace and blessings be upon him, said, “Three are the truth: Allah does not make one with a portion of Islam like one without it, Allah will not entrust the servant to another if he takes Him as an ally, and a man does not love a people but that he will be resurrected with them.”
Source: al-Mu’jam al-Awsaṭ lil-Ṭabarānī 6450
Grade: Sahih li ghayrihi (authentic due to external evidence) according to Al-Albani
عَنْ عَلِيٍّ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ ثَلَاثٌ هُنَّ حَقٌّ لَا يَجْعَلُ اللَّهُ مَنْ لَهُ سَهْمٌ فِي الْإِسْلَامِ كَمَنْ لَا سَهْمَ لَهُ وَلَا يَتَوَلَّى اللَّهَ عَبْدٌ فَيُوَلِّيهِ غَيْرَهُ وَلَا يُحِبُّ رَجُلٌ قَوْمًا إِلَّا حُشِرَ مَعَهُمْ
6450 المعجم الأوسط للطبراني
3037 المحدث الألباني خلاصة حكم المحدث صحيح لغيره في صحيح الترغيب