Hadithcore
Musnad Ahmad, 284
sahih· Darussalam

It was narrated that ‘Umar said:

Were it not for the coming generations of the Muslims, I would not have conquered any town but I would have divided it as the Messenger of Allah (ﷺ) divided Khaibar.

حَدَّثَنَا عَبْدُ الرَّحْمَنِ، عَنْ مَالِكٍ، عَنْ زَيْدِ بْنِ أَسْلَمَ، عَنْ أَبِيهِ، عَنْ عُمَرَ، قَالَ لَوْلَا آخِرُ الْمُسْلِمِينَ مَا فُتِحَتْ قَرْيَةٌ إِلَّا قَسَمْتُهَا كَمَا قَسَمَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خَيْبَرَ‏.‏

References1 variant
In-Book Reference
Book 2, Hadith 194