While we were in the Mosque, the Prophet ﷺ came out and said, "Let us go to the Jews" We went out till we reached Bait-ul-Midras. He said to them, "If you embrace Islam, you will be safe. You should know that the earth belongs to Allah and His Apostle, and I want to expel you from this land. So, if anyone amongst you owns some property, he is permitted to sell it, otherwise you should know that the Earth belongs to Allah and His Apostle." (Using translation from Bukhārī 3167)
"أسْلِمُوا تَسْلَمُوا، واعْلَمُوا أَنَّ الأرْضَ لله ورَسُولِه (وإنِّي أُرِيدُ أَنْ أُجْلِيَكُمْ مِنْ هَذِهِ الأرْضِ، فَمَنْ يجدْ مِنْكُمْ بِمالِهِ شيئًا فَلْيَبعْهُ، ألا، فاعْلَمُوا أنَّ الأَرْضَ لله ورَسُوله).