Sunan Abu Dawud #3383
Commercial Transactions (Kitab Al-Buyu) 23:58
Narrated AbuHurayrah:
The Messenger of Allah (ﷺ) having said: Allah, Most High, says: "I make a third with two partners as long as one of them does not cheat the other, but when he cheats him, I depart from them."