The last words spoken by the Prophet ﷺ were, "Expel the Jews of the Hijaz and the people of Najran from the Arabian Peninsula, and know that the worst of people are those who took the graves of their prophets as places of worship."
آخر ما تكلم به النبي ﷺ: أخرجوا يهود أهل الحجاز وأهل نجران من جزيرة العرب واعلموا أن شرار الناس الذين اتخذوا قبور أنبيائهم مساجد.
Ahmad (1691) narrated it from Yahya bin Saeed, he said, Ibrahim bin Maymun told us, Saad bin Samura bin Jundab told us, from his father, from Abu Ubayda, and he related it.Its chain is hasan because of Ibrahim bin Maymun al-Hannat. The hadith has another route, and the route mentioned is the correct one, as Daraqutni said in Ilal (4/439-440). The hadith is documented in Jumu al-Masajid.