The Prophet (ﷺ) forbade selling animals for animals when payment was to be made at a later date.
Sunan Abi Dawud Book 23, Hadith 31