It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said: "The Prophet (peace and blessings be upon him) ordered me to sell two slave boys who were brothers; so I sold them and separated them (that is, sold them separately). Then I mentioned it to the Prophet (peace and blessings be upon him), and he said: 'Go after them and bring them back, and sell them both only together, and do not separate them.'"
Imam al-Daraqutni (may Allah have mercy on him) was asked about this hadith, and he said: "Shu'bah and Sa'id bin Abi Arubah (may Allah have mercy on them both) narrated it, while Sa'id (may Allah have mercy on him) did not hear anything from al-Hakam (may Allah have mercy on him)." He also mentioned a group who narrated it through Sa'id (may Allah have mercy on him) from al-Hakam (may Allah have mercy on him). As for the hadith of Shu'bah (may Allah have mercy on him), Waddah bin Hasan al-Anbari (may Allah have mercy on him) narrated it from him, and Isma'il bin Abi al-Harith and Ali bin Sahl (may Allah have mercy on them both) corroborated them both, narrating it through Abd al-Wahhab bin Ata (may Allah have mercy on him) from Shu'bah (may Allah have mercy on him).
Imam al-Daraqutni (may Allah have mercy on him) narrated it through al-Qadi al-Husayn bin Isma'il al-Mahamili (may Allah have mercy on him), from Isma'il bin Abi al-Harith and Muhammad bin al-Walid al-Fahham (may Allah have mercy on them both), from Abd al-Wahhab (may Allah have mercy on him), from Shu'bah (may Allah have mercy on him), from al-Hakam (may Allah have mercy on him), from Abd al-Rahman bin Abi Layla (may Allah have mercy on him), from Sayyiduna Ali (may Allah be pleased with him), and then he mentioned this same hadith.
I say: Zayd bin Abi Unaysah (may Allah have mercy on him) has also narrated it from al-Hakam (may Allah have mercy on him).