Hazrat Ibn Abbas (may Allah be pleased with both of them) says that there is no harm in selling a sword adorned with jewelry in exchange for dirhams.