ذكر عند النبي صلى الله عليه وسلم قضاء قضى به علي بن أبي طالب، فأعجب النبي صلى الله عليه وسلم، فقال: الحمد لله الذي جعل فينا الحكمة أهل البيت.
‘Ali ibn Abi Talib issued a ruling and it was mentioned to Nabi salla Llahu ‘alayhi wa sallam. It amazed Nabi salla Llahu ‘alayhi wa sallam and so he said, “All praise belongs to Allah for granting wisdom amongst us, the Ahlul Bayt.”
Al Qati’i narrates — ‘Abdulliah ibn al Hassan narrated to us — Malik ibn Sulaiman Abu Anas al Ansari narrated to us — Ismail ibn ‘Ayyash narrated to us — Safwan ibn ‘Amr narrated to us — from Humaid ibn ‘Abdullah ibn Yazid al Madani.
Humaid ibn ‘Abdulliah ibn Yazid al Madani. It is possible he is the Humaid ibn ‘Abdullah al Madani mentioned by Abu Hatim al Razi. However, he mentioned nothing of his status as a narrator. Ibn Hibban mentions him as (Humaid ibn ‘Abdulliah) al Muzani. He is a tabi’i who was only deemed a thiqah (reliable) by Ibn Hibban. Therefore, the hadith (in this state) is mursal.
Muhammad ibn ‘Awf al Himsi states, “Abu Anas Malik ibn Sulaiman al Himsi was my wife’s cousin. He is da’if (weak).” Ibn Hibban regards him a thiqah (reliable). However, he is mistaken.
Ibn al Maghazili narrates — Abu al Hassan ‘Ali ibn ‘Umar ibn ‘Abdullah ibn Shawdhab informed us — my paternal grandfather, Abu al Hassan ‘Ali ibn ‘Abdullah ibn Shawdhab narrated to me — ‘Abdul Jalil ibn Abi Rafi’ narrated to us — ‘Ammar informed us — from Yazid ibn Harun — from Ismail ibn ‘Ayyash — from Safwan ibn ‘Amr — from ‘Abdullah al Mazini.
Besides Yazid ibn Harun none of the other narrators could be traced.
Ibn al Maghazili is da’if (weak).
Subsequently, I saw a biography of Ibn Shawdhab. However, there was no mention of his state as a narrator (no statement of jarh or ta’dil).
In short, the hadith is da’if (weak) because it revolves around weak and unknown narrators.
 Al Qati’i: Zawaʾid Fadaʾil al Sahabah, hadith no. 1113.
 Abu Hatim al Razi: Kitab al Jarh wa al Ta’dil, 3/224.
 Ibn Hibban: Kitab al Thiqat, 4/149.
 Al Khatib: Tarikh Baghdad, 13/159.
 Ibn al Maghazili: Manaqib ‘Ali, hadith no.329.
 Al Dhahabi: Tarikh al Islam, 29/463.