The Scriptures as taught by the prophets and encapsulated here in the writings of Islam's arch-enemy, the Apostle Paul, are quite clear on the issue. For example, Paul writes this to the believers in Rome who were comprised of both Jews and Gentiles:
7 Therefore accept one another, just as the Messiah also accepted you, to the glory of God.
8 For I say that the Messiah became a servant of the circumcised on behalf of God’s truth, to confirm the promises to the fathers,
9 and so that Gentiles may glorify God for His mercy. As it is written:
Therefore I will praise You among the Gentiles,
and I will sing psalms to Your name.
10 Again it says: Rejoice, you Gentiles, with His people!
11 And again:
Praise the Lord, all you Gentiles;
all the peoples should praise Him!
12 And again, Isaiah says:
The root of Jesse will appear,
the One who rises to rule the Gentiles;
the Gentiles will hope in Him.
In verse 9, Paul quotes the words of the prophet and King David as recorded by the prophet Samuel:
50 Therefore I will praise You, Lord, among the nations;
I will sing about Your name.
2 Samuel 22
See also Psalm 18:49.
In verse 10, Paul cites the prophet Moses speaking in the Torah:
43 Rejoice, you nations, concerning His people...
In verse 11, Paul quotes the psalmist who makes this exhortation in Psalm 117:
1 Praise Yahweh, all you nations!
Praise him, all you people of the world!
Psalm 117, Names of God Bible
Of course, the Apostle Matthew concurs with Paul's view of a divine Messiah Who will judge the living and the dead, whether Jew or Gentile. Matthew also turns to Isaiah as his reference:
18 Here is My Servant whom I have chosen,
My beloved in whom My soul delights;
I will put My Spirit on Him,
and He will proclaim justice to the nations.
19 He will not argue or shout,
and no one will hear His voice in the streets.
20 He will not break a bruised reed,
and He will not put out a smoldering wick,
until He has led justice to victory.
21 The nations will put their hope in His name.
As Isaiah put it,
1 “This is My Servant; I strengthen Him,
this is My Chosen One; I delight in Him.
I have put My Spirit on Him;
He will bring justice to the nations."
Where does Paul get the idea that Messiah will rule over the Gentiles in Romans 15:12? Once again, the apostle draws from the Scriptures that came before him...
8 Ask of Me,
and I will make the nations Your inheritance
and the ends of the earth Your possession.
9 You will break them with a rod of iron;
You will shatter them like pottery.”
Muhammad's teachings are proven false yet again while the Bible continues to demonstrate its cohesion and consistency despite having a multiplicity of authors writing over the span of 1,500 years.