Imam Malik (may Allah have mercy on him) asked Imam al-Zuhri (may Allah have mercy on him): "May two animals be bought for one on deferred terms (to a fixed time)?" He said: "There is no harm in that."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 11101