Hadith 45763

وَعَن عَمْرو بن عَوْف الْمُزَنِيِّ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «الصُّلْحُ جَائِزٌ بَيْنَ الْمُسْلِمِينَ إِلَّا صُلْحًا حَرَّمَ حَلَالًا أَوْ أَحَلَّ حَرَامًا وَالْمُسْلِمُونَ عَلَى شُرُوطِهِمْ إِلَّا شَرْطًا حَرَّمَ حَلَالًا أَوْ أَحَلَّ حَرَامًا» . رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ وَأَبُو دَاوُدَ وَانْتَهَتْ رِوَايَته عِنْد قَوْله «شروطهم»

‘Amr b. ‘Auf al-Muzani reported the Prophet as saying, “Reconciliation is allowable between Muslims except such as makes unlawful something which is lawful, or makes lawful something which is unlawful ; and Muslims must keep to the conditions they have made, except for a condition which makes unlawful something which is lawful, or makes lawful something which is unlawful.” Tirmidhi, Ibn Majah and Abu Dawud transmitted it, but Abu Dawud's transmission ended at “the conditions they have made.”

Source: Mishkat al-Masabih — repository translation · Al-Khatib Al-Tabrizi — authenticity/grade metadata requires independent source review · Sunnah.com
Audio not available for the selected reciter.
Source: Mishkat al-Masabih — repository arabic · Al-Khatib Al-Tabrizi · Sunnah.com