Hadith 4.2
The Offices of Commander and Qadi
‘Amr b. Shu'aib, on his father’s authority, told that his grandfather reported the Prophet (ﷺ) as saying, “The testimony of a deceitful man or woman, or of an immoral man or woman, or of one who harbours rancour against his brother is not allowable," and he rejected the testimony of one who is dependent on a family. Abu Dawud transmitted it.
وَعَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا تَجُوزُ شَهَادَةُ خَائِنٍ وَلَا خَائِنَةٍ وَلَا زَانٍ وَلَا زَانِيَةٍ وَلَا ذِي غِمْرٍ عَلَى أَخِيهِ» . وَرَدَّ شَهَادَةَ الْقَانِعِ لِأَهْلِ الْبَيَتْ. رَوَاهُ أَبُو دَاوُد
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.