Allah enjoins the believers to amicably reconcile their mutual differences and conflicts and forbids them from falling into disputes with one another, and warns them if they do not do so they will become weak as a community and their strength will be lost.
وَأَصْلِحُوا ذَاتَ بَيْنِكُمْ
And reconcile your mutual differences.
(Al-Quran Surah 8: Verse 1)
وَلَا تَنَازَعُوا فَتَفْشَلُوا وَتَذْهَبَ رِيحُكُمْ
And dispute not with one another, then you will lose courage by getting demoralized and your strength will be lost.
(Al-Quran Surah 8: Verse 46)
Allah also commands the Muslim community to establish a mechanism for settling their mutual disputes.
وَإِن طَائِفَتَانِ مِنَ الْمُؤْمِنِينَ اقْتَتَلُوا فَأَصْلِحُوا بَيْنَهُمَا فَإِن بَغَتْ إِحْدَاهُمَا عَلَى الْأُخْرَىٰ فَقَاتِلُوا الَّتِي تَبْغِي حَتَّىٰ تَفِيءَ إِلَىٰ أَمْرِ اللَّهِ فَإِن فَاءَتْ فَأَصْلِحُوا بَيْنَهُمَا بِالْعَدْلِ وَأَقْسِطُوا إِنَّ اللَّهَ يُحِبُّ الْمُقْسِطِينَ
And if two factions of the Believers get to fight, make them reconcile. Then if either of these (factions) commits injustice and aggression against the other, fight against (the one) that is committing aggression till it returns to Allah’s command (of establishing peace). When they revert and submit, make peace between them with equity. And put justice to work. Surely, Allah loves those who do justice.
(Al-Quran Surah 49: Verse 9)