He (Allah) said, “This (land) is prohibited to them for forty years. They shall be wandering around the earth. So, do not grieve for the sinning people.”
And recite to them the story of the two sons of ’Ādam rightly: When both of them offered a sacrifice, it was accepted from one of them, and was not accepted from the other. He said, “I will kill you.” He said, “Allah accepts only from the God-fearing.
If you stretch your hand towards me to kill me, I am not going to stretch my hand towards you to kill you. Indeed, I fear Allah, the Lord of the worlds.
Then, Allah sent a crow that scratched the earth to show him how he should conceal the corpse of his brother. He said, “Alas! Was I not even able to be like this crow so that I could conceal the corpse of my brother? So, he stood regretful.
For this reason, We decreed for the children of Isrā’īl that whoever kills a person not in retaliation for a person killed, nor (as a punishment) for spreading disorder on the earth, is as if he has killed the whole of humankind, and whoever saves the life of a person is as if he has saved the life of the whole of humankind. Certainly, Our messengers have come to them with clear signs. Then, after all that, many of them are there to commit excesses on the earth.
Those who fight against Allah and His Messenger and run about trying to spread disorder on the earth, their punishment is no other than that they shall be killed, or be crucified, or their hands and legs be cut off from different sides, or they be kept away from the land (they live in). That is a humiliation for them in this world, and for them there is a great punishment in the Hereafter;