The Cow - 2:102 "They followed what the devils told them about the authority of Solomon. But Solomon did not disbelieve; it was the devils who taught the people sorcery and what was revealed to the two angels Harut and Marut in Babylon. These two said: "This is a test; do not be ungrateful (by misusing this knowledge)."But they used what they learned from those two to drive a wedge between a husband and his wife. But they could not harm anyone without Allah´s permission. They were learning that which harmed them, not that which benefited them. Moreover, they knew well that those who were its customers had no share in the Hereafter. How bad is that for which they sold their personalities. If only they knew!"
Who has the power of Satan?
The Rocky Tract/15:39 "He said: "My Lord, because you have led me astray, I will lead them astray in the earth."
The Rocky Tract/15:40 Except those who devote themselves to You alone.
The Rocky Tract/15:41 ". He said: "This is my unchanging law."
The Rocky Tract/15:42 Surely you have no power over those who serve only me. You have power only over those who follow you.

The Night Journey/17:64 "He said: "Displace with your voice as many of them as you can, mobilize against them all your power and all your men, share in some of their money and some of their children, and give them hope; Satan only gives them false hope."
The Night Journey/17:65 "As for My servants, you have no power over them."Your Lord is sufficient as a protector."

The Bee/16:99 He has no power over those who believe and trust in their Lord.
The Bee/16:100 His power is for those who take him as a friend and those who associate him with their Lord.