The last words spoken by the Prophet ﷺ were, "Expel the Jews of Hijaz and the people of Najran from the Arabian Peninsula, and know that the worst of people are those who take the graves of their prophets as places of worship."
آخر ما تكلم به النبي ﷺ: أخرجوا يهود أهل الحجاز، وأهل نجران من جزيرة العرب، واعلموا أن شرار الناس الذين اتخذوا قبور أنبيائهم مساجد.
Reported by Imam Ahmad (1691), Bazzar in Kashf Astar (439), Abu Yaala (872), Darimi (2501), Humaydi (58), Bukhari in Tarikh al-Kabir (4/57), and Bayhaqi (2/208), all of them through various routes from Ibrahim bin Maymun, who said, Saad bin Samura bin Jundab narrated to us, from his father, from Abu Ubayda, and he mentioned the same thing. Some of them confined themselves to his saying, "Expel the Jews from the Hijaz and the people of Najran from the Arabian Peninsula," while others combined this with the matter of taking graves as places of worship.Its chain of transmission is hasan because of Ibrahim bin Maymun al-Hannat, known as al-Nahhas, the freedman of the family of Samura, for he is hasan al-hadith. Ibn Main deemed him trustworthy, and Abu Hatim said, "His standing is one of truthfulness." As for Saad bin Samura, Nasai deemed him trustworthy, and Ibn Hibban mentioned him in "Thiqat" (4/294). Haythami mentioned it in "Majmu" (2/28) and attributed it to Bazzar alone, saying, "Its narrators are trustworthy."Scholars have differed over defining the Arabian Peninsula. The correct view is that it is the land lying between the Sea of Hind, the Sea of Qulzum, the Arabian Gulf, and the Sea of Abyssinia. It was attributed to the Arabs because it was in their possession, and it contained their homelands and dwellings. However, what the polytheists are actually forbidden from residing in is the Hijaz specifically, that is, Makkah and Madinah, according to the view of the majority of scholars. According to Shafii, they may enter with the permission of the leader if it serves the interest of the Muslims.For more, see Fath al-Bari (6/171).