"This Verse 'And making peace is better.' was revealed concerning a man who had been married to a woman for a long time, and she had given birth to his children and he wanted to exchange her (for a new wife). She agreed that he would stay with her (the new wife) and would not give her (the first wife) a share of his time. (i.e.) not spend the nights with her)." (Using translation from Ibn Mājah 1974)
نَزَلَتْ هَذِهِ الْآيَةُ {وَالصُّلْحُ خَيْرٌ} [النساء 128] فِي رَجُلٍ كَانَتْ تَحْتَهُ امْرَأَةٌ قَدْ طَالَتْ صُحْبَتُهَا وَوَلَدَتْ مِنْهُ أَوْلَادًا فَأَرَادَ أَنْ يَسْتَبْدِلَ بِهَا فَرَاضَتْهُ عَلَى أَنْ تَقَرَّ عِنْدَهُ وَلَا يَقْسِمَ لَهَا