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."
Sunan Abi Dawud Book 23, Hadith 58