Sayyiduna Muhammad bin Maslamah (may Allah be pleased with him) said: I said: O Messenger of Allah! What should I do when those who pray disagree among themselves? He (peace and blessings be upon him) said: "Take your sword out to the Harrah and strike it against that (rocky ground), then enter your house until your appointed death comes to you, or a sinful hand reaches you."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 16562