Sayyiduna Jabir (may Allah be pleased with him) said: "The price of a dog and of a cat was forbidden, except the price of a hunting dog."
In some narrations Hammad did not mention the Prophet (peace and blessings be upon him) in it, and the narration of al-Hasan bin Abi Ja'far from Abu al-Zubayr from Jabir from the Prophet (peace and blessings be upon him) is not strong.
The sahih hadiths in which the Messenger of Allah (peace and blessings be upon him) mentioned the price of a dog do not contain this exception. The exception is found only in the hadiths forbidding the keeping of dogs; perhaps this is a mistake by the narrators.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 11012