There is no stoning punishment in the Quran.
It is common belief in traditional Islam that stoning or Rajam, is part of the Islamic Sharia Punishment Laws, also known as Hudud Laws.
But stoning according to the Quran is the practice of the Musyrikeen. Nothing in the Quran that has ordained stoning as a form of punishment, from God.
The Quran has given many examples of act of stoning by the disbelievers.
SHU’AIB WAS THREATENED TO BE STONED:
Surah Hud 11:91 They threatened, “O Shu’aib! We do not comprehend much of what you say, and surely we see you powerless among us. Were it not for your clan, we would have certainly STONED you (larajamnāka), for you are nothing to us.”
ASHABUL KAHFI WERE THREATENED WITH STONING
Surah Al-Kahf 18:20 For, indeed, if they find out about you, they will STONE you (yarjumūkum) ˹to death˺, or force you back into their faith, and then you will never succeed.”
IBRAHIM WAS THREATENED BY HIS MUSYRIKIN FATHER
Surah Maryam 19:46 He threatened, “How dare you reject my idols, O Abraham! If you do not desist, I will certainly STONE you (la-arjumannaka) ˹to death˺. So be gone from me for a long time!”
NUH WAS THREATENED
Surah Ash-Shuara 26:116 They threatened, “If you do not desist, O Noah, surely you will be of whom were stoned (l-marjūmīna)”
THREAT TO THE MESSENGER
Surah Yaaseen 36:18 The people replied, “We definitely see you as a bad omen for us. If you do not desist, we will certainly STONE you (lanarjumannakum) and you will be touched with a painful punishment from us.”
MUSA WAS THREATENED
Surah Ad-Dukhan 44:20 And indeed, I seek refuge with my Lord and your Lord so you do not STONE me (tarjumūni).
We can see from the above, Stoning is not the way from the Quran. Stoning is the way of the Jahiliya conduct their judgement.
5:50 Is it then the judgment of (the times of) ignorance [afaḥuk'ma l-jāhiliyati] that they desire? And who is better than Allah to judge for a people who are sure.
The word Jamarat – the stoning ritual during the Pilgrimage also shares the same root word for Rajam – rā jīm mīm (ر ج م).
There is nothing in the Quran that supports stoning punishment or the Jamarat rituals. What is clear according to the Quran, the stoning punishment was clearly the practice and acts of the disbelievers. Of course the Quran is full of reminders for us to be mindful of these:
66:6 O you who have believed, protect yourselves and your families from a Fire whose fuel is people and stones, over which are [appointed] angels, harsh and severe; they do not disobey Allah in what He commands them but do what they are commanded.
The Stoning punishment of the Sharia Hudud laws can only be traced from the Hadith. It is not difficult to realise that the hadith sources are taking a course, different from the Quran.
SAHIH BUKHARI Volume 3, Book 50, Number 885: Narrated Abu Huraira and Zaid bin Khalid Al-Juhani: A bedouin came to Allah's Apostle and said, "O Allah's apostle! I ask you by Allah to judge My case according to Allah's Laws." His opponent, who was more learned than he, said, "Yes, judge between us according to Allah's Laws, and allow me to speak." Allah's Apostle said, "Speak." He (i .e. the bedouin or the other man) said, "My son was working as a laborer for this (man) and he committed illegal sexual intercourse with his wife. The people told me that it was obligatory that my son should be stoned to death, so in lieu of that I ransomed my son by paying one hundred sheep and a slave girl. Then I asked the religious scholars about it, and they informed me that my son must be lashed one hundred lashes, and be exiled for one year, and the wife of this (man) must be stoned to death." Allah's Apostle said, "By Him in Whose Hands my soul is, I will judge between you according to Allah's Laws. The slave-girl and the sheep are to be returned to you, your son is to receive a hundred lashes and be exiled for one year. You, Unais, go to the wife of this (man) and if she confesses her guilt, stone her to death." Unais went to that woman next morning and she confessed. Allah's Apostle ordered that she be stoned to death. Also : SAHIH BUKHARI Volume 3, Book 49, Number 860, SAHIH BUKHARI Volume 8, Book 82, Number 809, 824 &842, SAHIH BUKHARI Volume 9, Book 89, Number 303, SAHIH BUKHARI Volume 9, Book 92, Number 432, SAHIH MUSLIM Book 008, Number 3435, SAHIH MUSLIM Book 017, Number 4216, 4191, 4211, 4212,
Meanwhile, here’s an interesting hadith for us to ponder;
Sahih al-Bukhari 3849 Narrated `Amr bin Maimun: During the pre-lslamic period of ignorance I saw a she-monkey surrounded by a number of monkeys. They were all stoning it, because it had committed illegal sexual intercourse. I too, stoned it along with them. in-book reference: Book 63, Hadith 74 USC-MSA web (English) reference: Vol. 5, Book 58, Hadith 188 [Fath Al-Bari 7/160] Al-Hafidh Ibn Hajar said in his commentary on Sahih Al-Bukhari: “Al-Isma’ili narrated a longer version of this story with another chain of narrators in which ‘Eesa Bin Hattan narrated from ‘Amr Bin Maimun that he said: I was in Yemen tending the sheep of my people up upon an elevation. A male monkey came with a female and laid his head on her hand. Then a smaller monkey came and beckoned towards her, so she gently slipped her hand out from under the cheek of the first monkey and followed him. He mated with her while I looked on. Then she returned and gently tried to slip her hand back under the cheek of the first monkey, but he woke up suddenly, smelled her, and cried out.Then the monkeys gathered round and he began screaming while pointing towards her with his hand. The monkeys went all about and came back with that monkey that I recognized. They dug a pit for the two of them and stoned them both. So I had witnessed stoning being carried out by other than Adam’s descendants. ”