Where the story is told
The creation of Adam and the refusal of Iblis are mentioned in Quran 2:30-39, 7:11-27, 15:26-44, 17:61-65, 18:50 and 38:71-85. Each passage adds a different detail, so reading them together gives the full picture.
In Surah al-Baqarah, Allah tells the angels that He will place a successive authority on the earth. The angels ask about one who would cause corruption and shed blood, and Allah answers that He knows what they do not know. He then teaches Adam the names of all things (Quran 2:30-33).