The ban on making pictures or idols of “holly” figures in the Shariah laws originates from Judaism.:
Thou shalt not make unto thee any graven image, or any likeness of any thing that is in heaven above, or that is in the earth beneath, or that is in the water under the earth. Thou shalt not bow down thyself to them nor serve them
The second commandment
It aims to prevent idolatry.