Rabi' bin Sulayman (may Allah have mercy on him) said that Imam al-Shafi'i (may Allah have mercy on him) said: As for the statement (attributed to) the Prophet (peace and blessings be upon him) that "he (peace and blessings be upon him) forbade selling an animal for an animal on credit," this is not established from him (peace and blessings be upon him).
Abu Bakr Muhammad bin Ishaq bin Khuzaymah said: What is correct according to the experts in hadith is that this report is mursal, not connected.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10535