.Allaah (The Most High) said:
يَا أَيُّهَا الَّذِينَ آمَنُوا عَلَيْكُمْ أَنْفُسَكُمْ ۖ لَا يَضُرُّكُمْ مَنْ ضَلَّ إِذَا اهْتَدَيْتُمْ ۚ إِلَى اللَّهِ مَرْجِعُكُمْ جَمِيعًا فَيُنَبِّئُكُمْ بِمَا كُنْتُمْ تَعْمَلُونَ
”O you who believe! Take care of your own selves. If you follow the right guidance no hurt can come to you from those who are in error. The return of you all is to Allah, then He will inform you about (all) that which you used to do!”[5:105
Allaah (The Most High) said: يَا أَيُّهَا الَّذِينَ آمَنُوا عَلَيْكُمْ أَنْفُسَكُمْ ۖ ''O you who believe! Take care of your own selves!'' That is: Strive in rectifying and perfecting your own souls, and keep them firm upon traversing the straight path; because if you are righteous, you will not be harmed by the one deviated from the straight path and is not guided to the upright religion; rather he only harms himself. (However), this does not indicate that the slave (i.e. the Muslim) is not harmed if he abandoned enjoining good and forbidding evil, and is negligent towards them; for indeed his guidance will not be complete except through fulfilling what is obligated on him with regards to enjoining good and forbidding evil. Yes, if he is (genuinely) unable to stop evil with his hand and his tongue, but rejects it in his heart, then indeed he will not be harmed by the misguidance of others!
[إِلَى اللَّهِ مَرْجِعُكُمْ جَمِيعًا ] ”The return of you all is to Allah.” That is: Your final destination is the day of Judgement and your gathering will be in the presence of Allaah (The Most High);فَيُنَبِّئُكُمْ بِمَا كُنْتُمْ تَعْمَلُونَ ”then He will inform you about (all) that which you used to do” with regards to (your) good and evil (deeds)!
[Source: Tayseer Al-Kareem Ar-Rahmaan Fee Tafseer kalaam Al-Mannaan of Imaam Sadi (rahimahullaah)]