"Narrated 'Abdullah: Allah's Apostle said, "The blood of a Muslim who confesses that none has the right to be worshipped but Allah and that I am His Apostle, cannot be shed except in three cases: In Qisas for murder, a married person who commits illegal sexual intercourse and the one who reverts from Islam (apostate) and leaves the Muslims.""
January 1, 1970
https://en.wikiquote.org/wiki/Capital_punishment_in_Islam