3:79
مَا كَانَ لِبَشَرٍ أَن يُؤْتِيَهُ ٱللَّهُ ٱلْكِتَٰبَ وَٱلْحُكْمَ وَٱلنُّبُوَّةَ ثُمَّ يَقُولَ لِلنَّاسِ كُونُوا۟ عِبَادًۭا لِّى مِن دُونِ ٱللَّهِ وَلَٰكِن كُونُوا۟ رَبَّٰنِيِّۦنَ بِمَا كُنتُمْ تُعَلِّمُونَ ٱلْكِتَٰبَ وَبِمَا كُنتُمْ تَدْرُسُونَ
It is not for a human [prophet] that Allah should give him the Scripture and authority and prophethood and then he would say to the people, "Be servants to me rather than Allah," but [instead, he would say], "Be pious scholars of the Lord because of what you have taught of the Scripture and because of what you have studied."
Translation · Saheeh International
Tafsir
Ibn Kathīr (abridged)
No Prophet Ever Called People to Worship him or to Worship Other Than Allah
This Ayah 3:79 means, it is not for a person whom Allah has given the Book, knowledge in the Law and prophethood to proclaim to the people, "Worship me instead of Allah," meaning, along with Allah. If this is not the right of a Prophet or a Messenger, then indeed, it is not the right of anyone else to issue such a claim.
This criticism refers to the ignorant rabbis, priests and teachers of misguidance, unlike the Messengers and their sincere knowledgeable followers who implement their knowledge; for they only command what Allah commands them, as their honorable Messengers conveyed to them. They also forbid what Allah forbade for them, by the words of His honorable Messengers. The Messengers, may Allah's peace and blessings be on all of them, are the emissaries between Allah and His creation, conveying Allah's Message and Trust. The messengers indeed fulfilled their mission, gave sincere advice to creation and conveyed the truth to them. Allah's statement,
وَلَـكِن كُونُواْ رَبَّـنِيِّينَ بِمَا كُنتُمْ تُعَلِّمُونَ الْكِتَـبَ وَبِمَا كُنتُمْ تَدْرُسُونَ
(On the contrary (he would say), "Be you Rabbaniyyun, because you are teaching the Book, and you are studying it.") means, the Messenger recommends the people to be Rabbaniyyun. Ibn `Abbas, Abu Razin and several others said that Rabbaniyyun means, "Wise, learned, and forbearing." Ad-Dahhak commented concerning Allah's statement,
بِمَا كُنتُمْ تُعَلِّمُونَ الْكِتَـبَ وَبِمَا كُنتُمْ تَدْرُسُونَ