But in spite of this warning , those people used to learn from the angels the art which caused division between husband and wife . Although it was obvious that they could not do any harm to anyone by means of this magic without Allah 's permission , yet they learnt that art which could not be profitable even for them but was actually harmful .