Layth (may Allah have mercy on him) said that Ata (may Allah have mercy on him) said: "There is no harm in it if it is a cloak or a weapon."