Full Sharh — Mishkat al-Masabih 3620
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا تَجُوزُ شَهَادَةُ خَائِنٍ وَلَا خَائِنَةٍ وَلَا مَجْلُودٍ حَدًّا وَلَا ذِي غِمْرٍ عَلَى أَخِيهِ وَلَا ظَنِينٍ فِي وَلَاءٍ وَلَا قَرَابَةٍ وَلَا الْقَانِعِ مَعَ أَهْلِ الْبَيْتِ» . رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حديثٌ غريبٌ ويزيدُ بن زيادٍ الدِّمَشْقِي الرَّاوِي مُنكر الحَدِيث
English Translation
‘A’isha reported God’s Messenger as saying, “The testimony of a deceitful man or woman, or of one who has been flogged for transgressing the bounds set by God, or of one who harbours rancour against his brother, or of one suspected regarding the patrons he claims or relationship, or of one who is dependent on a family is not allowable." Tirmidhi transmitted it, saying this is a gharib tradition and that the traditions of Yazid b. Ziyad ad-Dimashqi, the transmitter, are rejected.
Source
Mishkat al-Masabih(مشكاة المصابيح)
The Offices of Commander and Qadi
Hadith Number
3620