Sahih al-Bukhari 4236
Sahih al-Bukhari · Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · Ghazwa of Khaibar
Narrated `Umar:
حَدَّثَنِي مُحَمَّدُ بْنُ الْمُثَنَّى ، حَدَّثَنَا ابْنُ مَهْدِيٍّ ، عَنْ مَالِكِ بْنِ أَنَسٍ ، عَنْ زَيْدِ بْنِ أَسْلَمَ ، عَنْ أَبِيهِ ، عَنْ عُمَرَ ـ رضى الله عنه ـ قَالَ لَوْلاَ آخِرُ الْمُسْلِمِينَ مَا فُتِحَتْ عَلَيْهِمْ قَرْيَةٌ إِلاَّ قَسَمْتُهَا، كَمَا قَسَمَ النَّبِيُّ صلى الله عليه وسلم خَيْبَرَ.
But for the other Muslims (i.e. coming generations) I would divide (the land of) whatever villages the Muslims might conquer (among the fighters), as the Prophet (ﷺ) divided (the land of) Khaibar.