"Narrated Abu Qilaba: Once 'Umar bin 'Abdul 'Aziz sat on his throne in the courtyard of his house so that the people might gather before him. Then he admitted them and (when they came in), he said, "What do you think of Al-Qasama?" They said, "We say that it is lawful to depend on Al-Qasama in Qisas, as the previous Muslim Caliphs carried out Qisas depending on it." Then he said to me, "O Abu Qilaba! What do you say about it?" He let me appear before the people and I said, "O Chief of the Believers! You have the chiefs of the army staff and the nobles of the Arabs. If fifty of them testified that a married man had committed illegal sexual intercourse in Damascus but they had not seen him (doing so), would you stone him?" He said, "No." I said, "If fifty of them testified that a man had committed theft in Hums, would you cut off his hand though they did not see him?" He replied, "No." I said, "By Allah, Allah's Apostle never killed anyone except in one of the following three situations: (1) A person who killed somebody unjustly, was killed (in Qisas,) (2) a married person who committed illegal sexual intercourse and (3) a man who fought against Allah and His Apostle and deserted Islam and became an apostate."..."
January 1, 1970
https://en.wikiquote.org/wiki/Capital_punishment_in_Islam