It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) forbade selling an animal for an animal on credit.
The wording of (all) the narrations is the same, except that in the narration of Ibrahim bin Rashid it is: "The Messenger of Allah (peace and blessings be upon him) forbade."
Regarding Muhammad bin Dinar Abu Bakr al-Tahi al-Basri, Imam Yahya bin Ma'in (may Allah have mercy on him) said: "He is da'if (weak)." And Imam Abu Ahmad bin Adi (may Allah have mercy on him) said: "He is hasan al-hadith (good in hadith)."