Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:6840Mūsá b. Ismāʿīl > ʿAbd al-Wāḥid > al-Shaybānī Saʾalt ʿAbdullāh b. Abū Awfá > al-Rajm

I asked ʿAbdullah bin Abi ʿAufa about the Rajam (stoning somebody to death for committing illegal sexual intercourse). He replied, "The Prophet ﷺ carried out the penalty of Rajam," I asked, "Was that before or after the revelation of Surat-an-Nur?" He replied, "I do not know."  

البخاري:٦٨٤٠حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ حَدَّثَنَا عَبْدُ الْوَاحِدِ حَدَّثَنَا الشَّيْبَانِيُّ سَأَلْتُ عَبْدَ اللَّهِ بْنَ أَبِي أَوْفَى عَنِ الرَّجْمِ فَقَالَ

رَجَمَ النَّبِيُّ ﷺ فَقُلْتُ أَقَبْلَ النُّورِ أَمْ بَعْدَهُ قَالَ لاَ أَدْرِي  

تَابَعَهُ عَلِيُّ بْنُ مُسْهِرٍ وَخَالِدُ بْنُ عَبْدِ اللَّهِ وَالْمُحَارِبِيُّ وَعَبِيدَةُ بْنُ حُمَيْدٍ عَنِ الشَّيْبَانِيِّ وَقَالَ بَعْضُهُمُ الْمَائِدَةُ وَالأَوَّلُ أَصَحُّ