Technology Retainer Fees: Shariah Compliant?
Question:
ASSALAAMU ALAIKUM
MUFTI SAHEB
We provide computer related services viz graphic designing etc
At times we offer to our client a retainer
A retainer agreement would mean that we offer 10 hours(in the month) of service to the client over and above the agreed upon service at a price eg 5000
So the client can use any 10 hours of our service beyond the agreed upon
The reason this occurs is because at times the client would need some urgent issues to be resolved after his work is done so we sort of give him a discounted hour package and save ourselves from undue difficulty if the emergency work stretches for a long time
But at times the client wouldn't even use these hours despite paying for it because he didnt have a need
So would such an agreement(retainer agreement) be shariah compliant ?
Answer:
In the Name of Allah, the Most Gracious, the Most Merciful.
As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.
Answer:
In the Name of Allah, the Most Gracious, the Most Merciful.
As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.
Your question dated 12 June 2025 refers.
We would like to applaud you for your zeal and enthusiasm in ensuring that your financial dealings are shariah compliant.
Contextual Background: Retainer Agreements
A Retainer Agreement, also known as a retainer contract or business retainer agreement, is a formal document that outlines the terms of an ongoing relationship between a service provider and a client. It is commonly used in various professional fields, including legal, consulting, marketing, and IT services. The primary purpose of a Retainer Agreement is to secure the availability of the service provider for a specified period, ensuring that the client has access to their expertise when needed.
A retainer fee is an advance payment that a client makes to a professional, and it is considered a down payment on the future services rendered by that professional. Regardless of occupation, the retainer fee funds the initial expenses of the working relationship. For this reason, these fees usually remain separate from the hourly wages of the consultant, freelancer, or lawyer. This ensures that money is not used for personal purposes before fully performing services.[1]
There are various forms of retainer agreements including:
- Pay for Work/Special Retainer
This is a one-time fee for a specific task or professional service. Once the task is completed, the professional’s obligation under the retainer ends.
- Pay For Access/General Retainer
This is a flat fee paid to retain the professional’s availability for a specific period. It doesn’t necessarily cover any particular service but ensures the professional is available for consultation and general professional advice.
- Security Retainer
This common type of retainer is deposited into a trust account. As the attorney works on your case, they withdraw funds from this account. If the funds deplete, the client would need to replenish the retainer.
- Advance fee Subscription
Similar to a security retainer, this fee is paid in advance and used to cover future professional services. However, any unused portion of this retainer is refundable to the client
Key Corporeal Structural Retainer Considerations
The underlying legal and corporeal structure of retainer agreements generally consist of the following key fundamental elements:
- Scope of Work
- Payment Terms
- Confidentiality Clauses
- Performance Standards
- Dispute Resolution
- Governing Law
Shariah Compliant Service Contracts (Ijarah)
‘Ijarah’ is an Arabic word for ‘lease’, ‘rent’ or ‘wage’. The Fuqahaa (Jurists) have defined Ijarah “as the transferral of the usufruct of specific assets or provision of services to the client for a fixed tenure in lieu of a fixed fee or remuneration.
Under the conceptual framework of an Ijarah, the usufruct of the leased asset is transferred to the client and not actual ownership (Milkiyyah) of the asset (Ayn Ma’joor Alayhi). Ownership (Milkiyyah) is generally transferred under a valid Bay Sahih.
There are two broad categories of Ijarah:
• Ijarah al-manafi/al-A’yaan
• Ijarah al-A’maal/Ashkhaas
Ijarah al-Manafi: ‘Manafi’ is an Arabic word meaning ‘benefit/usufruct’. Ijara al-manafi is a lease contract in which the benefits or usufruct of an asset are transferred to the client in exchange for a fixed fee. For example, Nakheel Property Investments leases out 100 apartments in exchange for a fixed rent of R 10,000 per month for a fixed tenure of one year.
Ijara al-A’maal: Ijara al-A’maal refers to a lease contract to engage the services of a person for a fixed remuneration over a specific tenure. For example, Zaid hires Bakr to carry his luggage to the airport. In an Ijara al-A’maal, the ‘ajir’, or labourer, provides his services to the ‘mustajir’, or employer. The ‘ujra’ is the wage or rental fee.[2]
The Fuqahaa have further defined Ijara al-A’maal under the following juridical categorization:
- Ajir Mushtarak – An Ajir Mushtarak refers to a functional project based employee who provides functional project based services in exchange for a fixed fee. For example, a software consultant (Ajeer Mushtarak) hired by the project owner (Musta’jir) to develop a specific software based on a fixed functional technical mandate.
- Ajir Khaas – An Ajir Khaas refers to a mutually exclusive service-based employee receiving a fixed fee in exchange for exclusive time-bound availability of the skills/services of the Ajir Khaas. For example, a CFO hired on a fixed yearly contract by a multi-national corporation for a fixed monthly remuneration package. [3]
Shariah Compliance Analysis of Retainer Agreements
In general, according to Shariah, the general conceptualization of retainer agreements as defined above would generally fall under the classical juridical purview of “Ijarah Mushtarakah” (functional project-based service engagements), as it is generally understood that the retainer fee payment serves as a “downpayment” for specific project based functional services to be provided later by the relevant professional. Moreover, it is also understood that “unearned retainer fees are refundable” in certain jurisdictions such as the USA under the Model Rules of Professional Conduct of the American Bar Association (ABA). [4]
We are currently conducting a detailed Tahqeeq Shar’ee (Academic research) at our Darul Iftaa related to the various shariah compliance permutations related to the various classifications and denominations related to retainers as espoused above. We will advise the public once we have concluded our academic research findings. Insha’Allah.
Contextual Juridical Analysis
We understand from your question, that you provide certain computer related services such as graphic design for your client for a fixed fee. You also provide a further fixed retainer fee for a fixed number of hours over and above the specific design fee referenced in your question. You also state that the client pays the retainer fee at certain times without utilizing your services.
The retainer service fee referred to you in your question is termed as a “technology service retainer fee”. In essence, the Musta’jir (client) pays the service provider (Ajeer) a fixed recurring subscription fee for certain specified technology and IT services such as managed IT services, cloud services, etc.
The technology service arrangements with your client will be permissible based on the following general shariah compliance conditions:
- The technology services in reference are permitted in Shariah without any aiding and abetting in sin (I’anah alal Ma’siyah)[5]
- 51% of the client’s capital and source of income is shariah compliant and Halal[6]
- The corporeal structure/contractual substance (Ma’na) of the underlying contract (Aqd) with your client is shariah compliant[7]
Your question is unclear and ambiguous. We cannot provide a specific Fatwa (juridical ruling) related to the scenario described by you unless we receive the specific details related to the nature of the services provided, terms and conditions of the underlying retainer contract and the structural nature of the underlying agreement with your client.
However, in general, we advise you to consider structuring the underlying technology services contract with your client as an “Advance Technology Service Fee Arrangement”. In other words, your client will pay you an advance fee (Ta’jeel)[8] for a fixed (Muta’ayyan) schedule of shariah compliant technology services to be provided by you to your client under the concept of Ijarah Mushtarakah. You will not be eligible (Mustahiqq) to receive such advance fee unless you complete the schedule of services mutually agreed with your client.
We advise you to seek the expert guidance of an experience Mufti/Alim to discuss the shariah compliance of your specific contextual scenario in more detail.
And Allah Ta’āla Knows Best
(Mufti) Ismail Desai
Shariah Board and Fatwa Committee,
Darul Iftaa, Durban, South Africa
DISCLAIMER: The views and opinions expressed in this answer belong only to the author and do not in any way represent or reflect the views of any organizations to which he may be affiliated with. The opinions and educational information proffered in this communication are based on the jurisprudential understanding and available knowledge of the author. Given that contemporary issues and interpretations of contemporary issues are subjective in nature, another scholar may reach different juristic inferences and conclusions to those as expressed by the author. Whilst every effort has been taken to ensure total academic integrity and honesty, the author is open to corrective measures based on sound academics and juristic inferences. The Shari’ah ruling given herein is based specifically on the specific scenario in question. The author bears no responsibility towards any party that acts or does not act on this answer and is exempted from any and all forms of loss or damage. This answer may not be used as evidence in any court of law without prior written consent from the author. Any or all links provided in our emails, answers and articles are restricted to the specific material being cited. Such referencing should not be taken as an endorsement of other contents of that website.
[1] https://www.investopedia.com/terms/r/retainer-fee.asp#:~:text=Understanding%20Retainer%20Fees,purposes%20before%20fully%20performing%20services.
[2] Al-Hidayah, Kitab al-Ijarah, Pg 295/Vol. 3, Maktabah Rahmaniyyah
[3] إنما سمي خاصا لأنه يختص بعمله دون غيره لأنه لا يصح أن يعمل لغيره في المدة (الجوهرة النيرة، كتاب الإجارة: 1/584؛ العلمية)
(الأجير المشترك…من يعمل لا لواحد) كالخياط ونحوه (أو يعمل له) أي لواحد عملا (غير مؤقت) فإنه إذا استأجر رجلا وحده للخياطة أو الخبز في بيته غير مقيد بيوم أو بيومين كان أجيرا مشتركا وإن لم يعمل لغيره (أو مؤقتا بلا تخصيص) يعني إذا استأجر رجلا لرعي غنمه شهرا بدرهم فهو أجير مشترك إلا أن يقول ولا ترع غنم غيري فحينئذ يصير أجير واحد وسيأتي تحقيقه (وإنما يستحق) أي لا يستحق الأجير المشترك (الأجر) إلا (بعمله كالصباغ ونحوه) (الدرر الحكام، باب الإجارة الفاسدة: ص 235؛ مير محمد)
(و) ثاني النوعين الأجير (الخاص) ويسمى أجير واحد أيضا (هو من يعمل لواحد عملا مؤقتا بالتخصيص) وفوائد القيود عرفت مما سبق (ويستحق الأجر بتسليم نفسه مدته وإن لم يعمل كأجير شخص لخدمته أو رعي غنمه) وليس له أن يعمل لغيره لأن منافعه صارت مستحقة له والأجر مقابل بها (المرجع السابق: ص 236)
اعلم أن الأجير للخدمة أو لرعي الغنم إنما يكون أجيرا خاصا إذا شرط عليه أن لا يخدم غيره ولا يرعى لغيره أو ذكر المدة أولا نحو أن يستأجر راعيا شهرا ليرعى له غنما مسماة بأجر معلوم فإنه أجير خاص بأول الكلام أقول سره أنه أوقع الكلام على المدة في أوله فتكون منافعه للمستأجر في تلك المدة فيمتنع أن يكون لغير فيها أيضا (المرجع السابق: ص 236)
الأجراء على ضربين أجير خاص وأجير مشترك قال رحمه الله (الأجير المشترك من يعمل لغير واحد) معناه من لا يجب عليه أن يختص بواحد عمل لغيره أو لم يعمل (ولا يشترط أن يكون عاملا لغير واحد بل) إذا عمل لواحد أيضا فهو مشترك إذا كان بحيث لا يمتنع ولا يتعذر عليه أن يعمل لغيره والأوجه أن يقال الأجير المشترك من يكون عقده واردا وعلى عمل معلوم ببيان محله ليسلم من النقض والأجير الخاص من يكون العقد واردا على منافعه ولا تصير منافعه معلومة إلا بذكر المدة أو بذكر المسافة ومنافعه في حكم العين فإذا صارت مستحقة بعقد المعاوضة لإنسان لا يتمكن من إيجابها لغيره بخلاف الأجير المشترك لأن المعقود عليه فيه هو الوصف الذي يحدث في العين بعمله فلا يحتاج إلى ذكره المدة ولا يمتنع عليه تقبل مثل ذلك العمل من غيره لأن ما استحقه الأول في حكم الدين في ذمته وهو نظير السلم مع بيع العين فإن المسلم فيه لما كان دينا في ذمته لا يتعذر عليه بسببه قبول السلم من غيره والبيع لما كان يلاقي العين لا يملك بيعه من غيره بعد ما باعه فلهذا كان مشتركا والأول أجير واحد وأجير خاص وقد اختلفت عبارات المشايخ في حدهما فقال بعضهم الأجير المشترك من يتقبل العمل من غير واحد والأجير الخاص من يتقبل العمل من واحد وقال القدوري المشترك من لا يستحق الأجر حتى يعمل والخاص الذي يستحق الأجرة بتسليم نفسه في المدة وإن لم يعمل وهذا يؤل إلى الدور لأن هذا حكم لا يعرفه إلا من يعرف الأجير المشترك والخاص وحكمهما أن المشترك له أن يتقبل العمل من أشخاص لأن المعقود عليه في حقه هو العمل أو أثره فكان له أن يتقبل من العامة لأن منافعه لم تصر مستحقة لواحد فمن هذه الوجه سمي مشتركا والأجير الخاص لا يمكنه أن يعمل لغيره لأن منافعه في المدة صارت مستحقة للمستأجر والأجر مقابل بالمنافع ولهذا يبقى الأجر مستحقا وإن نقص العمل (تبيين الحقائق، كتاب الإجارة، باب ضمان الأجير: 4/133-134؛ إمدادية)
(والخاص يستحق الأجر بتسليم نفسه في المدة وإن لم يعمل كمن استؤجر شهرا للخدمة أو لرعي الغنم) أي الأجير الخاص يستحق الأجرة بتسليم نفسه للعمل عمل أو لم يعمل سمي أجيرا خاصا وأجير وحد لأنه يختص به الواحد وهو المستأجر وليس له أن يعمل لغيره لأن منافعه في المدة صارت مستحقة له والأجر مقابل بها (المرجع السابق: 4/137)
واختلف المشايخ في الفاصل بين القسمين فقيل هو من (يستحق الأجر) أي الأجرة (بالعمل) لا بتسليم النفس فالمعقود عليه في المشترك هو العمل المعلوم ببيان محله (وله أن يعمل للعامة) إشارة إلى قول آخر وهو من يتقبل العمل من غير واحد… (والأجير الخاص…تستحق) الأجر (بتسليم نفسه) إلى مستأجر واحد أو أكثر…(مدته) أي الاستئجار مع القدرة على العمل (وإن لم يعمل) لكن لا يمتنع عنه فلو امتنع عنه لم يستحق الأجر (جامع الرموز، كتاب الإجارة، فصل الأجير: 3/141-143؛ سعيد)
الأجير المشترك من يعمل لغير واحد ولا يستحق الأجر حتى يعمل…والأجير الخاص من يعمل لواحد ويسمى أجير وحد ويستحق الأجر بتسليم نفسه مدته (ملتقى الأبحر، كتاب الإجارة: ص 531-532؛ البيروتي)
(والأجراء على ضربين) أي نوعين (أجير مشترك وأجير خاص فالمشترك من) يعمل لا لواحد أو لواحد من غير توقيت ومن أحكامه أنه (لا يستحق الأجرة حتى يعمل) المعقود عليه…(والأجير الخاص) ويسمى أجير واحد أيضا وهو (الذي) يعمل لواحد عملا موقتا بالتخصيص ومن أحكامه أنه (يستحق الأجرة بتسليم نفسه في المدة) المعقود عليها (وإن لم يعمل) (اللباب، كتاب الإجارة: 3/31-33؛ قديمي)
وليس للخاص أن يعمل لغيره ولو عمل نفص من أجرته بقدر ما عمل (المرجع السابق: 3/33)
والحاصل أن الأجير المشترك من لا يحب عليه أن يختص بواحد عمل لغيره أو لم يعمل ولا يشترط أن يكون عاملا لغير واحد بل إذا عمل لواحد أيضا فهو مشترك إذا كان بحيث لا يمتنع ولا يتعذر عليه أن يعمل لغيره (كذا في التبيين للزيلعي) ثم قال والأوجه أن يقال الأجير المشترك من يكون عقده واردا على عمل معلوم ببيان محله والأجير الخاص من يكون العقد واردا على منافعه ولا تصير منافعه معلومة إلا بذكر المدة أو بذكر المسافة (شرح المجلة للأتاسي، الكتاب الثاني في الإجارات، الباب الأول: 2/482؛ رشيدية)
(الأجير الخاص يستحق الأجرة إذا كان في مدة الإجارة حاضرا للعمل ولا يستحق عمله بالفعل لكن ليس له أن يمتنع عن العمل وإذا امتنع لا يستحق الأجرة) ولو كان الامتناع حكما قال في الجر المنتقى فلو امتنع ولو حكما كمطر ومرض فلا أجر (المرجع السابق: 2/487)
[4] https://www.legalmatch.com/law-library/article/refund-for-unearned-legal-fees.html
[5] إمداد الأحكام، ج 4، ص 386-390، مكتبه دار العلوم كراتشى
[6] وقد إشتهر على الألسن أن حكم التعامل مع من كان ماله مخلوطاً بالحلال والحرام أنه إن كان الحلال فيها أكثر جاز التعامل معه...ولكن ما يتحقق بعد سبر الكلام الفقهاء الحنفية في هذا الموضوع أن اعتبار الغلبة إنما هو فيما إذا كان الحلال متميزاً عن الحرام عند صاحبه ولا يعلم المتعامل معه أن ما يعطيه من الحلال أو من الحرام...أما إذا كان الحلال مخلوطاً بالحرام دون تمييز أحدهما بالآخر فإنه لا عبرة بالغلبة في هذه الحالة في مذهب الحنفية بل يحل الإنتفاع من المخلوط بقدر الحلال سواءٌ أكان الحلال قليلاً أم كثيراً - المرجع السابق، ص. ١٠٣١ - ١٠٣٢
ينظر: فقه البيوع ٢/ ١٠٢٧ - ١٠٣٨ و ١٠٦٦ - ١٠٦٩ وقد بسط فضيلة الشيخ المفتي محمد تقي العثماني - حفظه الله - الكلام في هذا الموضوع وأثبت بأدلة كثيرة أنه لا عبرة بالغلبة في هذه الحالة في مذهب الحنفية. ونذكر هنا بعضها على سبيل المثال لا الحصر
أ - جاء في الدر المختار: "أو اختلط المغصوب بملك الغاصب بحيث يمتنع امتيازه...ضمنه وملكه بلا حل انتفاع قبل أداء ضمانه" إن الضمير المنصوب في "ضمنه وملكه" يرجع إلى المغصوب لأنه محل الضمان والملك الجديد. أما ماله الحلال فلا هو يضمنه ولا يحدث له فيه ملك جديد. وقوله "بلا حل انتفاع " متعلق بالضمان والملك الجديد، وليس متعلقاً بماله الذي لا يضمنه للمغصوب منه، وهو مملوك له قبل الخلط. فظهر أن عدم حل الإنتفاع متعلق بالحصة المغصوبة فقط
ب - ما روي عن الامام محمد رحمه الله تعالى في حل الإنتفاع بقدر الحلال بصراحة. جاء في التتارخانية عنه: "غصب عشرة دنانير فألقى فيها ديناراً ثم أعطى منه رجلاً ديناراً جاز ثم ديناراً أخرى لا" والحلال ههنا أقل ولكنه أجيز بقدر الحلال بدون اعتبار الغلبة
ج - ما أفتى به الشيخ أشرف علي التهانوي رحمه الله تعالي. فسئل عن رجل يسكن مع أبيه و إخوته الذين يكسبون عن طريق الرشوة ومال السائل حلال. وهو يشاركهم في مصاريف البيت. فأجاب رحمه الله تعالي: "الخلط استهلاك والاستهلاك موجب للملك. فإن كانت هذه المبالغ تصرف مجموعة يجوز للسائل حسب الفتوي وإن كان خلاف التقوى. وإن كان كل أحد يصرف مبلغه على التعاقب مميزاً عن المبالغ الأخرى فعندما يصرف مبلغ الرشوة فإن أكله حرام للسائل" - إمداد الفتاوى ٤/ ١٤٨ سؤال ١٨٢
[7] Al-Hidayah, Pg 97, Vol.3, Maktabah Rahmaniyyah
[8] Al-Hidayah, Pg. 297/8, Vol.3, Maktabah Rahmaniyyah
and Allah Ta'ala Knows Best
Mufti Ismail Desai
Darul Iftaa
Durban, South Africa
An
Disclaimer The views and opinions expressed in this answer belong only to the author and do not in any way represent or reflect the views of any organizations to which he may be affiliated with. The opinions and educational information proffered in this communication are based on the jurisprudential understanding and available knowledge of the author. Given that contemporary issues and interpretations of contemporary issues are subjective in nature, another scholar may reach different juristic inferences and conclusions to those as expressed by the author. Whilst every effort has been taken to ensure total academic integrity and honesty, the author is open to corrective measures based on sound academics and juristic inferences. The Shari’ah ruling given herein is based specifically on the specific scenario in question. The author bears no responsibility towards any party that acts or does not act on this answer and is exempted from any and all forms of loss or damage. This answer may not be used as evidence in any court of law without prior written consent from the author. Any or all links provided in our emails, answers and articles are restricted to the specific material being cited. Such referencing should not be taken as an endorsement of other contents of that website.
Browse next Fataawa