Abu Hurairah reported,

While we were in the mosque, the Messenger of Allah ﷺ came out and said, "Let us go to the Jews."So we went out with him until we came to Bayt al-Midras. The Prophet ﷺ stood and called out to them, saying, "Company of Jews, accept Islam and you will be safe."They replied, "You have delivered the message, Abu Qasim."The Messenger of Allah ﷺ said to them, "That is what I want. Accept Islam and you will be safe."They replied, "You have delivered the message, Abu Qasim."The Messenger of Allah ﷺ said to them, "That is what I want."Then he said it a third time and added, "Know that the earth belongs to Allah and His Messenger, and I intend to expel you from this land. Whoever among you owns property, let him sell it. Otherwise, know that the earth belongs to Allah and His Messenger."

Bukhari 7348

Sahih

حدثنا قتيبة حدثنا الليث عن سعيد عن أبيه

عن أبي هريرة قال

بينا نحن في المسجد خرج رسول الله ﷺ فقال انطلقوا إلى يهود فخرجنا معه حتى جئنا بيت المدراس فقام النبي ﷺ فناداهم فقال يا معشر يهود أسلموا تسلموا فقالوا قد بلغت يا أبا القاسم قال فقال لهم رسول الله ﷺ ذلك أريد أسلموا تسلموا فقالوا قد بلغت يا أبا القاسم فقال لهم رسول الله ﷺ ذلك أريد ثم قالها الثالثة فقال اعلموا أنما الأرض لله ورسوله وأني أريد أن أجليكم من هذه الأرض فمن وجد منكم بماله شيئا فليبعه وإلا فاعلموا أنما الأرض لله ورسوله

البخاري 7348صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhering to the Book and the Sunnah
Chapter
His saying, "And man is ever most quarrelsome"
Numbering
Darussalam 7348
Bukhari 7348