All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
If this brother who takes other people's money engages in real Mudhaarabah (which is an Islamic term that means that a person gives an amount of money to another person in order to trade with it and the second takes a share in the profit, like one-fourth, or half, or a third and the like), then it is permissible to deal with him.
The conditions of real Mudhaarabah are:
a) The person holding the capital money should not guarantee the money [unless he is negligent];
b) The profit between the Mudhaarib and the owner of the capital money should not be a fixed amount, rather it should be a known percentage, like a half, or one-fourth, or a third, and the like;
c) The Mudhaarabah should be in permissible fields- for more benefit, please refer to Fataawa 87688 and 86028.
Therefore, if the person whom you mentioned in the question guarantees the capital money of the owner, or that he fixes a given amount for the profit, then it is not permissible to deal with him in this transaction, and he should be advised to abandon it and repent to Allaah.
However, it is permissible to deal with him in his lawful money or money that is mixed from lawful and unlawful resources, but it is not permissible to deal with him in his money that one knows to be purely forbidden money.
As regards taking him as a friend, then a Muslim should only befriend pious people. One can only be pious if he abandons what is forbidden. The Prophet said: “Do not befriend except a believer.” [At-Tirmithi]
Al-Munaawi said: “Befriending a non-pious person weakens one's faith, and makes one fall into doubtful matters and prohibitions.”