Umar said: The Messenger of Allah ﷺ had transaction with the Jews of Khaybar on condition that we should expel them when we wish. If anyone has property (with them), he should take it back, for I am going to expel the Jews. So he expelled them. (Using translation from Abū Dāʾūd 3007)
أَيُّهَا النَّاسُ إِنَّ رَسُولَ اللهِ ﷺ كَانَ عَامَلَ يَهُودَ خَيْبَرَ عَلَى أَنَّا نُخْرِجُهُمْ إِذَا شِئْنَا فَمَنْ كَانَ لَهُ مَالٌ فَلْيَلْحَقْ بِهِ وَإِنِّي مُخْرِجٌ يَهُودَ فَأَخْرَجَهُمْ