4:80
مَّن يُطِعِ ٱلرَّسُولَ فَقَدْ أَطَاعَ ٱللَّهَ ۖ وَمَن تَوَلَّىٰ فَمَآ أَرْسَلْنَـٰكَ عَلَيْهِمْ حَفِيظًا
man yuṭiʿi l-rasūla faqad aṭāʿa l-laha waman tawallā famā arsalnāka ʿalayhim ḥafīẓan
Whoever obeys the Messenger obeys God. If some pay no heed, We have not sent you to be their keeper.
He who obeys the Messenger (Muhammad صلى الله عليه وسلم), has indeed obeyed Allâh, but he who turns away, then we have not sent you (O Muhammad صلى الله عليه وسلم) as a watcher over them.