Al-Za'farani narrated it from Abd al-Wahhab, from Sa'id, from al-Hakam bin Utaybah, and mentioned something similar, except that he said: From Sayyiduna Ali bin Abi Talib (may Allah be pleased with him), who said: He ordered me. This is how I found it in the original of my book from Sa'id. Ahmad bin Hanbal narrated it from Abd al-Wahhab, from Sa'id, from a man, from al-Hakam.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18317