Even before the revelation of the Law He sent prophets to the nations, as our sages of blessed memory explain, “Seven prophets prophesied to the nations of the world before the giving of the Torah: Laban, Jethro, Balaam, Job, Eliphaz, Bildad, and Zophar.”And again after its revelation nothing prevented Him from sending to them whom He wished that the world might not remain without religions ….. It is further said,” يُرِيدُ ٱللَّهُ لِيُبَيِّنَ لَكُمْ وَيَهْدِيَكُمْ سُنَنَ ٱلَّذِينَ مِن قَبْلِكُمْ ““God desireth to declare these things unto you and direct you according to the ordinances of those who have gone before you.”^That indicates that Mohammed was a prophet to them but not to those who preceded them in the knowledge of God …. A proof that He sends a prophet to every people according to their language is found in this passage of the Koran,” وَمَآ أَرْسَلْنَا مِن رَّسُولٍ إِلاَّ بِلِسَانِ قَوْمِهِ لِيُبَيِّنَ لَهُمْ ““We sent a prophet only according to the language of His people.”Consequently has He sent a prophet to us He would have surely been on our language …. and again, had He been for us why did God say to him,” لِتُنذِرَ قَوْماً مَّآ أُنذِرَ آبَآؤُهُمْ “*’Lo thou art one of the apostles sent to warn a people whose fathers Have not warned.”^He meant the people who served at-Lat and al-Uzzah. As for us, behold our fathers were not without warnings throughout an extended period, and likewise prophets did not fail them. But Mohammed’s message was to a people whose fathers had not been warned and who had no Divine Law through which to be led aright, therefore he directed them to his law since they were in need of it.
Allah says to His servant and Messenger Muhammad :
[وَمَآ أَرْسَلْنَـكَ إِلاَّ كَآفَّةً لِّلنَّاسِ بَشِيراً وَنَذِيراً]
(And We have not sent you except as a giver of glad tidings and a warner to all mankind,) i.e., to all of creation among those who are accountable for their deeds.
This is like the Ayah:
[قُلْ يَأَيُّهَا النَّاسُ إِنِّى رَسُولُ اللَّهِ إِلَيْكُمْ جَمِيعًا]
(Say: “O mankind! Verily, I am sent to you all as the Messenger of Allah.”) (7:158)
[تَبَارَكَ الَّذِى نَزَّلَ الْفُرْقَانَ عَلَى عَبْدِهِ لِيَكُونَ لِلْعَـلَمِينَ نَذِيراً ]
(Blessed be He Who sent down the Criterion to His servant that he may be a warner to the all creatures.) (25:1)
Allah knows best !