4:79
مَّآ أَصَابَكَ مِنْ حَسَنَةٍ فَمِنَ ٱللَّهِ ۖ وَمَآ أَصَابَكَ مِن سَيِّئَةٍ فَمِن نَّفْسِكَ ۚ وَأَرْسَلْنَـٰكَ لِلنَّاسِ رَسُولًا ۚ وَكَفَىٰ بِٱللَّهِ شَهِيدًا
mā aṣābaka min ḥasanatin famina l-lahi wamā aṣābaka min sayyi-atin famin nafsika wa-arsalnāka lilnnāsi rasūlan wakafā bil-lahi shahīdan
Anything good that happens to you [Prophet] is from God; anything bad is [ultimately] from yourself. We have sent you as a messenger to people; God is sufficient witness.
Whatever of good reaches you, is from Allâh, but whatever of evil befalls you, is from yourself. And We have sent you (O Muhammad صلى الله عليه وسلم) as a Messenger to mankind, and Allâh is Sufficient as a Witness.