Surah Al-Maaida

5:117

مَا قُلْتُ لَهُمْ إِلَّا مَآ أَمَرْتَنِى بِهِۦٓ أَنِ ٱعْبُدُوا۟ ٱللَّهَ رَبِّى وَرَبَّكُمْ ۚ وَكُنتُ عَلَيْهِمْ شَهِيدًۭا مَّا دُمْتُ فِيهِمْ ۖ فَلَمَّا تَوَفَّيْتَنِى كُنتَ أَنتَ ٱلرَّقِيبَ عَلَيْهِمْ ۚ وَأَنتَ عَلَىٰ كُلِّ شَىْءٍۢ شَهِيدٌ

I said not to them except what You commanded me - to worship Allah, my Lord and your Lord. And I was a witness over them as long as I was among them; but when You took me up, You were the Observer over them, and You are, over all things, Witness.

Tafsir 5:117

Jesus will say to His Lord, ‘I only told people what you instructed me to tell them: to worship You alone. For as long as I remained amongst them I watched over what they were saying. When my term ended and I was raised to the sky alive, You, O Lord, were watching their actions. You are a witness to everything and nothing is hidden from You; so You know what I said to them and what they said after me’.