Sayyiduna Abu Huraira (may Allah be pleased with him) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "Reconciliation among Muslims is permissible in all matters except for a reconciliation that makes something unlawful lawful, or makes something lawful unlawful."
Hadith Referenceصحیح ابن حبان / كتاب الصلح / 5091
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيحسن صحيح - «الإرواء» (1303).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده حسن