God says
And hold fast, all together, unto the bond with God, and do not draw apart from one another. -- Q.3:103
And be not like those who are divided among themselves and fall into disputations after all evidence of the truth has come unto them; for these it is, for whom tremendous suffering is in store -- Q.3:105
And pay heed unto God and His Apostle, and do not [allow yourself to] be at variance with one another, lest you lose heart and your moral strength desert you. And be patient in adversity: for, verily, God is with those who are patient in adversity. – Q. 8:46
Verily, [O you who believe in Me,] this community of yours is one single community, since I am the Sustainer of you all: worship, then, Me [alone]! But men have torn their unity wide asunder, [forgetting that] unto Us they all have to return. And yet, whoever does [the least] of righteous deeds and is a believer withal, his endeavor shall not be disowned: for, behold, We shall record it in his favour. -- Q.21:92-94
… and seek not [occasion for] mischief in the land: for God loves not those who do mischief. -- Q.28: 77
Prophet said
1. “Dispute about Qur’an is infidelity”-- H: Ahmed and Abu Daud. N: Abu Hurairah.
2. “Surely, the devil (Shaitan) is to a man as wolf is to sheep, attacking those sheep that stray away from the flock: those which wander and those which take to a corner (apart from the flock). So avoid the branching paths and stick to the united body and the majority (of believers)” -- H: Ahmed. N: Muaz-b-Jabal.
3. “You must not become unbelievers after me, some of you killing the others.”-- H: Bukhari and Muslim. N: Jorair.