Wa maa kaana lahoo 'alaihim min sultaanin illaa lina'lama mai yu minu bil Aakhirati mimman huwa minhaa fee shakk; wa Rabbuka 'alaa kulli shai'in Hafeez
Iblis had no authority over them and whatever happened was in order that We might know him who believes in the Hereafter as distinct from him who is in doubt about it. Your Lord is watchful over everything.