I heard it wasn't part of Judaism, but definitely part of Christianity and Islam, which is allegedly one of the historical reason Jews are associated with banking, since the Christians and Muslims had to go to the Jews for loans.
An interesting thing in itself - Even large groups of people can choose to not pursue economic ventures they deem immoral, but if there's a profit to be made, someone will turn such reticence into a competitive edge.