Quran 20.115-117
And verily We made a covenant of old with Adam, but he forgot, and We found no constancy in him. And when We said unto the angels: Fall prostrate before Adam, they fell prostrate (all) save Iblis; he refused. Therefor we said: O Adam! This is an enemy unto thee and unto thy wife, so let him not drive you both out of the Garden so that thou come to toil.