The Prophet (peace and blessings be upon him) said:
"Indeed, had Allah Almighty willed that He not be disobeyed, He would not have created Iblis at all."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 1812
Hadith Gradingالألبانی:حسن
Hadith Takhrij[حل] عن ابن عمر. الصحيحة ١٦٤٢: البزار، هق، الالكائي – ابن عمرو.