Fatwa Explorer

Fatwa #4434512 July 2020Saudi Arabia

Using an expert advisor to make trades online - Is it permissible?

Question

Assalamualaikum Imam,

Here is my Question ? I am a software developer and recently I discovered a powerful algorithm that could be used to develop an Expert Advisor (Robot) that could make trades automatically. This Expert advisor can be used to take trades in Forex, Commodities, Oil and Metals such as Gold, Silver and Platinum. I intend to develop this Expert Advisor and sell it on a forum where traders can buy it and use it.

Before, I develop it, I want to know if it is permissable for me to do so, strictly for the purpose of sale only.

Answer

In the Name of Allah, the Most Gracious, the Most Merciful.

As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.

Your sensitivity to earning a ḥalāl income is commendable. Earning a ḥalāl income invokes the mercy of Allāh Ta’ālā and barakah in one’s wealth.

In principle, if the expert advisor has dual or multiple purposes, some of which can be used for permissible purposes and others for impermissible purposes, and your objective is to design it for a permissible objective, then it is permissible to develop such an expert advisor.[i]

Therefore, it is permissible for you to develop the expert advisor which can be used to make trades online. The onus of using the expert advisor in an impermissible way rests upon the person that uses it.

However, if the expert advisor can only be used to for an impermissible purpose, then developing such an expert advisor will be impermissible as it will entail assisting another in sin.

And Allah Ta’āla Knows Best

Ikraam Elias Gangat

Student Darul Iftaa
Zambia

Checked and Approved by,
Mufti Ebrahim Desai.


[i]

الأصل للشيباني ط قطر (4/ 17) دار إبن جزم - بيروت

وإذا استأجر الذمي من المسلم داراً ليسكنها فلا بأس بذلك. فإن شرب فيها الخمر أو عبد فيها الصليب أو أدخل فيها الخنازير لم يلحق المسلم من ذلك شيء من الإثم؛ لأنه لم يؤاجرها لذلك. والإجارة جائزة لازمة له. وكذلك لو اتخذ فيها بيعة أو كنيسة أو بيت نار بعد أن يكون ذلك بالسواد فإن الإجارة جائزة، ولا يلحق المسلم من ذلك شيء

عيون المسائل للسمرقندي الحنفي (ص: 474) مطبعة أسعد - بيروت

ولو أن رجلاً أجر نفسه ليعمل في الكنيسة فيعمرها بالأجر فلا بأس به

المحيط البرهاني في الفقه النعماني (7/ 481) دار الكتب العلمية

وفي «فتاوى أهل سمرقند» : إذا استأجر رجلاً ينحت له طنبوراً أو بربطا ففعل يطيب له الأجر إلا أنه يأثم في الإعانة على المعصية، وإنما وجب الأجر في هذه المسألة ولم يجب في نحت الصنم؛ لأن جهة المعصية ثمة مستغنية؛ لأن الصنم لا ينحت إلا للمعصية. أما في نحت الطبل والطنبور جهة المعصية ليست بمتعينة؛ لأنها كما للمعصية تصلح لغير المعصية بأن يجعل وعاء للأشياء. ولو استأجر الذمي مسلماً ليبني له بيعة أو كنيسة جاز، ويطيب له الأجر. وكذلك لو أن امرأة استكتبته كتاباً، إلى حبها جاز ويطيب له الأجر؛ لأنه بدل عمله

المحيط البرهاني في الفقه النعماني (5/ 362) دار الكتب العلمية

 ولو آجر نفسه ليعمل في الكنيسة ويعمرها فلا بأس به؛ إذ ليس في نفس العمل معصية

البحر الرائق شرح كنز الدقائق ومنحة الخالق وتكملة الطوري (8/ 231) دار الكتب العلمية

وفي التتارخانية: ولو أجر المسلم نفسه لذمي ليعمل في الكنيسة فلا بأس به

Something wrong with this record?

Report a problem

This goes to whoever maintains the archive, not to Askimam.org. For a question about the ruling itself, use the link to the original above.

Sent anonymously. No account needed, and nothing identifies you.