It is narrated from Sayyiduna Sa'd (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The excellence of knowledge is dearer to me than the excellence of worship, and the best trait of your religion is piety and scrupulousness (wara')."
Imam al-Daraqutni (may Allah have mercy on him) was asked about this narration, and he said: "Hamzah al-Zayyat (may Allah have mercy on him) narrated it from al-A'mash (may Allah have mercy on him), he from Mus'ab bin Sa'd (may Allah have mercy on him), and he from Sayyiduna Sa'd (may Allah be pleased with him); while Abdullah bin Abd al-Quddus (may Allah have mercy on him) differed from him and narrated it from al-A'mash (may Allah have mercy on him), he from Mutarrif (may Allah have mercy on him), and he from Sayyiduna Hudhayfah (may Allah be pleased with him).
Abu Muti' al-Balkhi (may Allah have mercy on him) also narrated it from al-A'mash (may Allah have mercy on him), he from Abu Salih (may Allah have mercy on him), and he from Sayyiduna Abu Hurayrah (may Allah be pleased with him); and it is also said that it is narrated from al-A'mash (may Allah have mercy on him), he from Salim bin Abi al-Ja'd (may Allah have mercy on him), and he from Sayyiduna Thawban (may Allah be pleased with him).
And al-Musayyab bin Sharik (may Allah have mercy on him) narrated it from al-A'mash (may Allah have mercy on him), he from Salim (may Allah have mercy on him), and he from Sayyiduna Jabir (may Allah be pleased with him).
Nothing from these chains is established; rather, these words are in fact narrated only as the own saying (mawquf) of Mutarrif bin Abdullah bin al-Shikhkhir (may Allah have mercy on him)."