Harut and Marut (Arabic: هاروت وماروت) are the two angels mentioned in the second surah of the Qur’an who were present during the reign of the prophet Solomon and Hazarat Ali said those two angels were in the time of Hazarat Idress and were located at a location called Babel. The Qur’an indicates that they were a trial for the people and through them the people were tested with sorcery. (Sura Al-Baqara, verse 102).
In the Qur’an
The story of Harut and Marut is told in the second surah (chapter), of the Qur’an, entitled “Al-Baqara” or “The Cow” . It appears in the 102nd Ayah, or verse, and forms part of a narrative concerning the people who followed sorcery.
They followed what the Satans gave out during the reign of Solomon. Solomon disbelieved not, but the Satans disbelieved, teaching men sorcery and such things that came down upon the two Angels at Babel, Harut and Marut, but neither of these two taught anyone till they had said, “We are only for trial, so disbelieve not.” And they learnt that which caused separation between a man and his wife, but they could not thus harm anyone except by Allah’s leave. And they learnt that which harmed them and profited them not. And indeed they knew that the buyers of it would have no share in the Hereafter. And how bad indeed was that for which they sold their own selves, if they but knew. And if they had believed and guarded themselves from evil and kept their duty to Allah, far better would have been the reward from their Lord, if they but knew! (Al-Baqarah, 102, 103)