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.
bayhaqi:16853Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Walīd al-Faqīh > al-Ḥasan b. Sufyān > Saʿd b. Yazīd al-Farrāʾ > Ḥammād b. Salamah > Simāk > Qābūs b. al-Mukhāriq from his father > Muḥammad b. Abū Bakr Katab > ʿAlī Yasʾaluh > Zanādiqah Muslimīn > ʿAlī

[Machine] Ali said: "As for the heretics, they are presented with Islam. If they embrace Islam, they are spared; otherwise, they are killed."  

البيهقي:١٦٨٥٣أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْوَلِيدِ الْفَقِيهُ ثنا الْحَسَنُ بْنُ سُفْيَانَ ثنا سَعْدُ بْنُ يَزِيدَ الْفَرَّاءُ ثنا حَمَّادُ بْنُ سَلَمَةَ عَنْ سِمَاكٍ عَنْ قَابُوسِ بْنِ الْمُخَارِقِ عَنْ أَبِيهِ أَنَّ مُحَمَّدَ بْنَ أَبِي بَكْرٍ كَتَبَ إِلَى عَلِيٍّ ؓ يَسْأَلُهُ عَنْ زَنَادِقَةٍ مُسْلِمِينَ قَالَ

عَلِيٌّ ؓ أَمَّا الزَّنَادِقَةُ فَيُعْرَضُونَ عَلَى الْإِسْلَامِ فَإِنْ أَسْلَمُوا وَإِلَّا قُتِلُوا