Were it not for the last of the Muslims, I would not conquer a town without dividing it as the Messenger of Allah ﷺ divided Khaybar.
حدثنا عبد الرحمن عن مالك عن زيد بن أسلم عن أبيه
لولا آخر المسلمين ما فتحت قرية إلا قسمتها كما قسم رسول الله ﷺ خيبر
Its isnad is sahih, see 213.