It is not permissible for the lender to stipulate in a loan contract that the borrower must pay back the loan with more than he took. The scholars are unanimously agreed that any loan which brings a benefit to the lender is riba.
Ibn Qudamah (may Allah have mercy on him) said in al-Mughni (4/240):
Any loan in which it is stipulated that more should be paid back is haram, and there is no difference of scholarly opinion on that. Ibn al-Mundhir said: They (the scholars) are unanimously agreed that if the lender stipulates that the borrower must pay back more or give him a gift, and he gives the loan on that basis, then accepting the extra amount on that basis is riba.
It was narrated from Ubayy ibn Ka‘b, Ibn ‘Abbas and Ibn Mas‘ud that they forbade loans that bring benefits. End quote.
It is permissible to make the borrower pay the costs of issuing the loan and other related services, on condition that the amount paid is equal to the real costs involved in issuing the loan. If the amount paid is greater than the real costs of issuing the loan, then that additional amount is riba.
It says in a statement of the Islamic Fiqh Council (no. 13 (1/3)):
Firstly: it is permissible to charge a fee for issuing loans, provided that it is within the limits of the actual costs. Secondly: anything more than the actual cost of this service is haram, because it comes under the heading of riba, which is prohibited according to Islamic teachings. End quote.
What confirms that administrative fees are not greater than the actual costs of administration is when the fees are not increased when the amount of the loan is increased, or when payment is delayed.
Shaykh Yusuf ash-Shubayli (may Allah preserve him) said:
If the stipulated increase to be paid to the bank is connected to the length of time taken to pay back the loan, or is connected to the value of the loan, then it is haram, whether it is to be paid to the bank in instalments (0.5% to be paid annually, for example) or it is to be paid in one go when taking out the loan or when paying it back, and regardless of whether it is called interest or services or fees, or any other name. When drawing up the contract, what matters is what the clauses really mean, not how they are phrased.
But if the extra amount that is stipulated is a set amount and is not impacted by the value of the loan or how long it takes to pay it back – such as if the bank charges a set fee to issue a loan, such as one hundred and fifty dinars for example – then what appears to be the case is that this transaction is permissible, whether payment of these fees is separate from paying off the loan, or it is added to the total value of the loan. That is because in reality, these fees are not additional to the loan; rather they are fees that the bank is entitled to charge in return for the work done in order to issue the loan, such as phone calls, messages, employee salaries, and so on, which is work for which the bank has the right to charge fees, according to Islamic teachings. End quote.
And Allah knows best.