Umar bin Khattab reported,

Were it not for the later generations of Muslims, I would not conquer a town without dividing it among its inhabitants, just as the Prophet ﷺ divided Khaybar.

Bukhari 3125

Sahih

حدثنا صدقة أخبرنا عبد الرحمن عن مالك عن زيد بن أسلم عن أبيه قال قال

عمر رضي الله عنه

لولا آخر المسلمين ما فتحت قرية إلا قسمتها بين أهلها كما قسم النبي ﷺ خيبر

البخاري 3125صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Obligation of the fifth
Chapter
Spoils are for those who witnessed the battle
Numbering
Darussalam 3125
Bukhari 3125