It was narrated from Sasmurah that:
the Messenger of Allah forbade selling animals in exchange for animal's ion credit.