Harut and Marut (Arabic: هَارُوْت وَمَارُوْت, romanized: Hārūt wa-Mārūt) are a pair of angels mentioned in the Quran Surah 2:102, who teach the arts of sorcery (siḥr) in Babylon.[1][2] According to Quranic exegesis (tafsīr), when Harut and Marut complained about mankinds' wickedness, they were sent to earth in order to compete against humankind in regards to obedience. After they committed various crimes, they found themselves unable to return to heaven. God offered them a choice between punishment on earth or in hell. They decided for punishment on earth, leading to their situation mentioned in the Quran.
The story became subject of a theological dispute in Islam. Some Muslim theologians argue that angels could not commit sins and thus, reject the story of Harut and Marut. Depending on the reading of the Quran (Qira'at), Harut and Marut are depicted as "two kings" instead. These kings would have learned sorcery from the devils and then taught it to the rest of mankind. An alternative attempt to protect Harut and Marut from sin while also affirming their angelic status describes them as angels who taught licit forms of magic, while the devils taught illicit magic.
Some Muslim theologians relate the complain of Harut and Marut to the angels disputing in Surah 2:30. Accordingly, when God declares to create Adam, the angels are puzzled by that decision and argue that they do better than humans. The event of their story would take place after this announcement. The majority of Muslim scholars however, set their fall after the creation of Adam.