Jami` at-Tirmidhi 1257
Narrated Habib bin Abi Thabit:
From Hakim bin Hizam, that the Messenger of Allah ﷺ sent Hakim bin Hizam with a Dinar to buy an animal for Udhiyyah (an animal for sacrifice) for him. He purchases an Udhiyyah which he sold and profited a Dinar from, so he purchased another in its place. And he returned to the Messenger of Allah ﷺ with Udhiyyah and the Dinar, so he said: 'The sheep is for sacrifice and Dinar is for charity.'"
[Abu 'Eisa said:] We do not know of the Hadith of Hakim bin Hizam except through this route, and Habib bin Abi Thabit did not hear from Hakim bin Hizam - in my view.
حَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا أَبُو بَكْرِ بْنُ عَيَّاشٍ، عَنْ أَبِي حُصَيْنٍ، عَنْ حَبِيبِ بْنِ أَبِي ثَابِتٍ، عَنْ حَكِيمِ بْنِ حِزَامٍ، أَنَّ رَسُولَ اللَّهِ ﷺ بَعَثَ حَكِيمَ بْنَ حِزَامٍ يَشْتَرِي لَهُ أُضْحِيَّةً بِدِينَارٍ فَاشْتَرَى أُضْحِيَّةً فَأُرْبِحَ فِيهَا دِينَارًا فَاشْتَرَى أُخْرَى مَكَانَهَا فَجَاءَ بِالأُضْحِيَّةِ وَالدِّينَارِ إِلَى رَسُولِ اللَّهِ ﷺ فَقَالَ " ضَحِّ بِالشَّاةِ وَتَصَدَّقْ بِالدِّينَارِ " .
قَالَ أَبُو عِيسَى حَدِيثُ حَكِيمِ بْنِ حِزَامٍ لاَ نَعْرِفُهُ إِلاَّ مِنْ هَذَا الْوَجْهِ . وَحَبِيبُ بْنُ أَبِي ثَابِتٍ لَمْ يَسْمَعْ عِنْدِي مِنْ حَكِيمِ بْنِ حِزَامٍ .