Muhammad bin Maslamah (may Allah be pleased with him) said: I asked the Prophet (peace and blessings be upon him): When the Muslims fall into dispute, what should I do? He said: "Take your sword to the mountain, break it there, and stay in your house until a natural death comes to you or someone kills you."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قتال أهل البغي / 16801