5:49
وَأَنِ ٱحْكُم بَيْنَهُم بِمَآ أَنزَلَ ٱللَّهُ وَلَا تَتَّبِعْ أَهْوَآءَهُمْ وَٱحْذَرْهُمْ أَن يَفْتِنُوكَ عَنۢ بَعْضِ مَآ أَنزَلَ ٱللَّهُ إِلَيْكَ ۖ فَإِن تَوَلَّوْا۟ فَٱعْلَمْ أَنَّمَا يُرِيدُ ٱللَّهُ أَن يُصِيبَهُم بِبَعْضِ ذُنُوبِهِمْ ۗ وَإِنَّ كَثِيرًۭا مِّنَ ٱلنَّاسِ لَفَٰسِقُونَ
And judge, [O Muhammad], between them by what Allah has revealed and do not follow their inclinations and beware of them, lest they tempt you away from some of what Allah has revealed to you. And if they turn away - then know that Allah only intends to afflict them with some of their [own] sins. And indeed, many among the people are defiantly disobedient.
Translation · Saheeh International
Tafsir
Ibn Kathīr (abridged)
Praising the Qur'an; the Command to Refer to the Qur'an for Judgment
Allah mentioned the Tawrah that He sent down to His Prophet Musa, the one whom He spoke directly to, praising it, commanding that it should be implemented, before it was abrogated. Allah then mentioned the Injil, praised it and commanded its people to adhere to it and follow it, as we stated. He next mentioned the Glorious Qur'an that He sent down to His honorable servant and Messenger. Allah said,
وَأَنزَلْنَآ إِلَيْكَ الْكِتَـبَ بِالْحَقِّ
(And We have sent down to you the Book in truth...) meaning, with the truth that, no doubt, is coming from Allah,
مُصَدِّقاً لِّمَا بَيْنَ يَدَيْهِ مِنَ الْكِتَـبِ
(confirming the Scripture that came before it) meaning, the Divinely Revealed Books that praised the Qur'an and mentioned that it would be sent down from Allah to His servant and Messenger Muhammad . The Qur'an was revealed as was foretold in the previous Scriptures. This fact increased faith in the previous Scriptures for the sincere who have knowledge of these Scriptures, those who adhered to Allah's commands and Laws and believed in His Messengers. Allah said,