Deuteronomy 23:20

Amplified Bible (AMP)
You may charge interest to a foreigner, but to your fellow Israelite you shall not charge interest, so that the Lord your God may bless you in [c]all that you undertake in the land which you are about to enter to possess.

Read Deuteronomy 23:20 in other translations