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:21183Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Walīd al-Faqīh > al-Ḥasan b. Sufyān > Abū Bakr > Ibn Abū Shaybah > Muʿādh b. Hishām > al-Ashʿath > al-Ḥasan

[Machine] He used to say about the slave and the non-Muslim, when they give testimony, their testimonies are rejected. Then he emancipates this one and converts this one, so that their testimonies become acceptable. He said, "Their testimony is valid." And he mentioned the hadith.  

البيهقي:٢١١٨٣أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْوَلِيدِ الْفَقِيهُ ثنا الْحَسَنُ بْنُ سُفْيَانَ ثنا أَبُو بَكْرٍ هُوَ ابْنُ أَبِي شَيْبَةَ قَالَ ثنا مُعَاذُ بْنُ هِشَامٍ عَنِ الْأَشْعَثِ عَنِ الْحَسَنِ

أَنَّهُ كَانَ يَقُولُ فِي الْعَبْدِ وَالذِّمِّي إِذَا شَهِدَا رُدَّتْ شَهَادَتُهُمَا ثُمَّ أعْتَقَ هَذَا وَأَسْلَمَ هَذَا أَنَّهُمَا تَجُوزُ شَهَادَتُهُمَا 21184 قَالَ وَحَدَّثَنَا أَبُو بَكْرٍ ثنا ابْنُ مَهْدِيٍّ عَنْ حَمَّادِ بْنِ سَلَمَةَ عَنْ عَبْدِ الْكَرِيمِ عَنْ عَمْرِو بْنِ شُعَيْبٍ وَعَطَاءٍ أَنَّ عُمَرَ ؓ قَالَ شَهَادَتُهُمْ جَائِزَةٌ قَالَ وَذَكَرَ الْحَدِيثَ