Indeed, the penalty1 for those who wage war2 against Allāh and His Messenger and strive upon earth [to cause] corruption is none but that they be killed or crucified or that their hands and feet be cut off from opposite sides or that they be exiled from the land. That is for them a disgrace in this world; and for them in the Hereafter is a great punishment,
Translation: Saheeh International (English)
1 Legal retribution.
2 i.e., commit acts of violence and terrorism against individuals or treason and aggression against the Islāmic state.
The punishment of those who wage war against Allah and His Messenger, and who challenge them by spreading corruption on earth though killing, looting and creating fear on the roads, is that they be killed, or crucified, or that they have their alternate hands and feet cut off, and if the offence is repeated the left hands and right feet are to be cut off, or they are to be exiled. Such punishment is a disgrace for them in the world; and in the Afterlife, they will receive a great punishment –