( إِنَّ الَّذِينَ فَرَّقُوا دِينَهُمْ) (Indeed, those who have divided their religion): When they break the unity of their religion, they thereby go against the Divine path because religion commands people to unite and stand on the same side. Allah (swt) says:
وَاعْتَصِمُوا بِحَبْلِ اللَّهِ جَمِيعًا وَلَا تَفَرَّقُوا
(And hold firmly to the rope of Allah all together and do not become divided) (Ali-Imraan: 103)
( لَّسْتَ مِنْهُمْ فِي شَيْءٍ) (you are not [associated] with them in anything): Every calling that divides people is not from our religion because it goes against the Divine Path. Thus, Prophet Mohammad (saws) is exempted from such people who broke the unity between Muslims because all callings for division, disruption, and sectarianism have nothing to do with religion that calls for unity.
( إِنَّمَا أَمْرُهُمْ إِلَى اللَّهِ ثُمَّ يُنَبِّئُهُم بِمَا كَانُوا يَفْعَلُونَ ) (Their affair is only [left] to Allah; then He will inform them about what they used to do): Allah (swt) will inform them in the Hereafter what they have done in the worldly life.