ENOfficial
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.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عَبْدُ الرَّحْمَنِ، عَنْ مَالِكٍ، عَنْ زَيْدِ بْنِ أَسْلَمَ، عَنْ أَبِيهِ، عَنْ عُمَرَ، قَالَ لَوْلَا آخِرُ الْمُسْلِمِينَ مَا فُتِحَتْ قَرْيَةٌ إِلَّا قَسَمْتُهَا كَمَا قَسَمَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خَيْبَرَ.
sunnah.com