Hadith.758 - The Commander of the Faithful Imam Ali ibn Abi Talib (as) said:
"A sword is like a garment; you may pray with it as long as you do not see any blood on it. A bow is also like a garment."
Man Lā Yaḥḍuruh al-Faqīh #786"He should untie the waistband and place it over his shoulder and pray. If he has a sword but no garment, he should hang the sword around...