“‘(I have come to you), to attest the Law which was before me. And to make lawful to you part of what was (Before) forbidden to you; I have come to you with a Sign from your Lord. So fear Allah, and obey me.
The fact that Jesus preached the same religion as that expounded earlier by Moses and the other Prophets is also borne out by the statements of the existing Gospels:According to Matthew, in his Sermon on the Mount the Messiah categorically declared:’Think not that I have come to abolish the law and the prophets; I have come not to abolish them but to fulfil them’ (Matthew 5: 17). And when a Jewish lawyer enquired:’Teacher, which is the greatest commandment in the Law?’, Jesus replied:’You shall love the Lord your God with all your heart, and with all your soul, and with all your mind. This is the greatest and the first commandment. And a second is like it, you shall love your neighbour as yourself. On these two commandments depends the law and the prophets’ (ibid., 22: 37-40). He also instructed his disciples:The scribes and the Pharisees sit on Moses’ seat, so practise and observe whatever they tell you, but not what they do; for they preach, but do not practise’ (ibid., 23: 2-3).
What Jesus wanted to impress upon them was that he would abolish the prohibitive innovations which had infiltrated the original Divine Law (Shari’ah). These were the results of the superstitions of their ignorant commoners, the legal hair-splitting of their lawyers, the extremism of their world-renouncing pietists, and the ascendancy and predominance of non-Muslim peoples over them. In determining what is lawful and unlawful, Jesus would be guided by the injunctions of God and not by the inventions of human beings.
Maududi, Abul Ala (2010). Tafhim ul Quran. (note 24, 25 and 26). https://www.englishtafsir.com/Quran/27/index.html