Those who used to make pictures will be asked by Allah to put a soul in their creation, and they will eventually be punished very severely, my question is concerning robotics. What are the limitations we should observe in making a robot for example, having various capacities, but not necessarily human shaped(artificial intelligence, camera vision, sensors for touch,etc).
Making a robot comes under the ruling on image-making. To sum up, if the machine is made in the shape of a man or an animate being, that is forbidden, and comes under the stern warning that is issued to those who make images and try to imitate the creation of Allaah. It will be said to them on the Day of Resurrection: “Give life to that which you have created.” It also comes under the words of the Prophet (peace and blessings of Allaah be upon him): “Those who will be most severely punished on the Day of Resurrection will be the image-makers.” (Narrated by al-Bukhaari, no. 5606; Muslim, 2109.
But if the machine is not in the form of an animate being or is incomplete and would not be taken as a human being or animate creature, there is nothing wrong with that.
It should be noted that no matter how far man advances in the field of technology, he will never be able to make anything that is anywhere near the creation of Allaah. Allaah says (interpretation of the meaning):
“So Blessed is Allaah, the Best of creators”
[al-Mu’minoon 23:14]See also questions no. 34522, 26841, 3273, 34839.