The Prophet ﷺ said: Probably you will fight with a people, you will dominate them, and they will save themselves and their children by their property. The version of Sa'id has You will then conclude peace with them. The agreed version goes: Then do no take anything from them more than that, for it is not proper for you.
قَالَ رَسُولُ اللَّهِ ﷺ لَعَلَّكُمْ تُقَاتِلُونَ قَوْمًا فَتَظْهَرُونَ عَلَيْهِمْ فَيَتَّقُونَكُمْ بِأَمْوَالِهِمْ دُونَ أَنْفُسِهِمْ وَأَبْنَائِهِمْ قَالَ سَعِيدٌ فِي حَدِيثِهِ فَيُصَالِحُونَكُمْ عَلَى صُلْحٍ ثُمَّ اتَّفَقَا فَلاَ تُصِيبُوا مِنْهُمْ شَيْئًا فَوْقَ ذَلِكَ فَإِنَّهُ لاَ يَصْلُحُ لَكُمْ