They ˹instead˺ followed the magic promoted by the devils during the reign of Solomon. Never did Solomon disbelieve, rather the devils disbelieved. They taught magic to the people, along with what had been revealed to the two angels, Hârût and Mârût, in Babylon. The two angels never taught anyone without saying, “We are only a test ˹for you˺, so do not abandon ˹your˺ faith.” Yet people learned ˹magic˺ that caused a rift ˹even˺ between husband and wife; although their magic could not harm anyone except by Allah’s Will. They learned what harmed them and did not benefit them—although they already knew that whoever buys into magic would have no share in the Hereafter. Miserable indeed was the price for which they sold their souls, if only they knew!
Meaning:-
Babylon: An ancient city in Mesopotamia (c. 3000 BC), Babylon is widely considered to be the cradle of civilization.
Abandon: give up completely (a course of action, a practice, or a way of thinking).
Rift: something that divides partners or friends, a situation in which two people, groups, etc., no longer have a friendly relationship
Witchcraft: the practice of magic, especially black magic.