Abu Huraira reported Allah's Messenger (may peace be upon him) having said: By Him in Whose Hand is my life, if you were not to commit sin, Allah would sweep you out of existence and He would replace (you by) those people who would commit sin and seek forgiveness from Allah, and He would have pardoned them.
MUSLIM, Book 037, Number 6620:
Abu Sirma reported that when the time of the death of Abu Ayyub Ansari drew near, he said: I used to conceal from you a thing which I heard from Allah's Messenger (may peace be upon him) and I heard Allah's Messenger (may peace be upon him) as sayirig: Had you not committed sins, Allah would have brought into existence a creation that would have committed sin (and Allah) would have forgiven them.
Kenapa Muslim diharuskan berbuat dosa?, jawabannya ada pada Hadis dibawah ini:
BUKHARI, Volume 3, Book 34, Number 267:
Narrated An-Nu'man bin Bashir:
The Prophet said "Both legal and illegal things are obvious, and in between them are (suspicious) doubtful matters. So who-ever forsakes those doubtful things lest he may commit a sin, will definitely avoid what is clearly illegal; and who-ever indulges in these (suspicious) doubtful things bravely, is likely to commit what is clearly illegal. Sins are Allah's Hima (i.e. private pasture) and whoever pastures (his sheep) near it, is likely to get in it at any moment."