Peace be upon you. The Grand Ayatollah Sayyid Sistani (may Allah protect him) states: Banks in Islamic countries fall into three categories: 1. National banks, which are funded by one or more individuals. 2. Government banks, which are funded by state resources. 3. Joint banks, which are funded by both the state and individuals. It is not permissible to borrow from national banks with the condition of paying interest, as this constitutes usury (riba), which is prohibited. If one borrows under such a condition, the loan is valid but the condition is void, and it is forbidden to pay or receive the interest as fulfillment of the condition. There are methods mentioned to avoid usury, such as purchasing goods from the bank at a price higher than their actual value (e.g., 10% or 20% more) with the condition of receiving a specific amount of cash for a set period, or selling goods at a lower market value with a similar condition. However, these methods are not without issues, and it is advisable to avoid them. The same applies to gifts, leases, and settlements conditional on loans. It is also stated that making a loan a condition in a preferential transaction is akin to making a grace period for debt repayment a condition. Furthermore, it is permissible for the bank to sell a specific amount (e.g., 100 dinars) for a higher amount (e.g., 120 dinars) on credit for a period of two months. However, the validity of this sale is questionable. It is permissible for the bank to sell an amount of 100 dinars on credit for two months and set the deferred price in another currency that exceeds the 100 dinars according to exchange rates. At the end of the period, the bank can accept the agreed currency or its equivalent in dinars as repayment. Another method involves the bank selling goods for 120 dinars on credit for two months and then buying them back for cash at a lower price (e.g., 100 dinars). This is also invalid if the first sale stipulated that the bank must buy the goods back for cash at a lower price, but if there is no such condition, it is permissible. It should be noted that these methods, if valid, do not achieve the bank's primary goal of claiming an additional amount from the debtor if they delay repayment, as charging interest for delayed payment is considered usury, even if framed as a condition in a sales contract. It is also prohibited to borrow from government banks with the condition of paying interest, regardless of whether the loan is secured or not. If one borrows under such a condition, both the condition and the loan itself are void, as the bank does not own the funds it holds to transfer ownership to the borrower. To avoid this, a person may receive money from the bank without the intention of engaging in usurious borrowing and should refer to the legal authority. We have permitted believers who receive it in this manner to use it according to the prescribed lawful purposes in one of two ways: either to take ownership without liability, but they cannot refuse to repay an equivalent amount to the bank unless it is waived, or to consider it a loan to themselves (without interest), in which case repaying the bank suffices to discharge their obligation, and it does not harm them to know that the bank will also require them to pay interest. If the bank demands it, they may pay it. Joint banks share the same rulings as government banks, as the funds they hold are treated as ownerless property, and it is not permissible to deal with them without the permission of the legal authority. As for banks funded by non-Muslims, whether national or otherwise, borrowing from them with the condition of paying interest is forbidden, but one can avoid this by receiving the money from the bank and taking ownership without the intention of borrowing, allowing them to use it without needing the legal authority's permission. Source: [Minhaj al-Salihin, Vol. 1, New Issues, Borrowing - Depositing](
https://www.sistani.org/arabic/book/23720/4749/). The Grand Ayatollah Sayyid Khamenei (may Allah protect him) states: Usurious loans are religiously forbidden, even if for fulfilling personal needs or helping a believer. However, this does not invalidate the loan; it remains valid despite the sin, and the condition of interest is void. Therefore, one who wishes to borrow from the bank can resort to the following method: The borrower requests the loan and intends (seriously) not to repay the interest, and if they are unable to avoid paying the interest when due, they may pay it out of necessity. In this way, the loan is valid, and they bear no sin, but the bank is not permitted to take the interest. Source: [Fiqh al-Wali: Rulings on Usury, Usurious Loans from the Bank](
https://baqiatollah.net/article.php?id=3347). May you be successful in all good deeds.