Maliks Muwatta Book 31, Hadith Number 102.
Section : Business Transactions in General.
Malik related to me that he asked Ibn Shihab about a man who hired an animal, and then re-hired it out for more than what he hired it for. He said, “There is no harm in that.”