2.102 . And follow that which the devils falsely related against the kingdom of Solomon . Solomon disbelieved not ; but the devils disbelieved , teaching mankind magic and that which was revealed to the two angels in Babel , Harut and Marut . Nor did they ( the two angels ) teach it to anyone till they had said : We are only a temptation , therefore disbelieve not ( in the guidance of Allah ) . And from these two ( angels ) people learn that by which they cause division between man and wife ; but they injure thereby no one save by Allah ' s leave . And they learn that which harmeth them and profiteth them not . And surely they do know that he who trafficketh therein will have no ( happy ) portion in the Hereafter ; and surely evil is the price for which they sell their souls , if they but knew .