For God Subjected the Devils of Jinn to Solomon, Every Builder to Cut Stones and Marble and do the Heavy Construction for the Temple of God, and Others Seized Great Stones and Tossed them up to the Higher Parts of the Temple in Jerusalem
But there was a Great Stone in which All the Workmen and Devils were Not Strong Enough to Lay it, but the Devil of the Red Sea and Ephippas Raised it, and the Pillar was Hanging of Enormous Size in Midair, for the Spirits Appeared Like Air
38:37, Qur'an
[God subjected] the devils [of jinn to Solomon] - every builder and diver -
Other Civilizations used Devils, but Not with Authority from God, Rather, through Magic and Rituals
Nan Madol - Twin Sorcerers Performed Rituals and Levitated Huge Stones with the Aid of a Flying Dragon
According to Pohnpeian legend, Nan Madol was constructed by twin sorcerers Olisihpa and Olosohpa from the mythical Western Katau, or Kanamwayso. The brothers arrived in a large canoe seeking a place to build an altar so that they could worship Nahnisohn Sahpw, the god of agriculture. After several false starts, the two brothers successfully built an altar off Temwen Island, where they performed their rituals. In legend, these brothers levitated the huge stones with the aid of a flying dragon. - Wikipedia