It is narrated from Jabir bin Abdullah (may Allah be pleased with them both) that a man passed through the mosque carrying weapons whose points were exposed, so he was ordered: "Cover their points so that they do not strike a Muslim."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15874