Capital punishment in Islam

Capital punishment in Islam is traditionally regulated by the Islamic law (sharīʿa), which derived from the Quran, ḥadīth literature, and sunnah (accounts of the sayings and living habits attributed to the Islamic prophet Muhammad during his lifetime). Crimes according to the sharīʿa law which could result in capital punishment include, murder, rape, adultery, potentially homosexuality, etc. The death penalty is in use in many Muslim-majority countries, where it is seen as sharīʿa-prescribed punishment for crimes such as apostasy from Islam, adultery, witchcraft, murder, rape, and publishing pornography.