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."
رَجَمَ النَّبِيُّ ﷺ فَقُلْتُ أَقَبْلَ النُّورِ أَمْ بَعْدَهُ قَالَ لاَ أَدْرِي