What is the ruling on working for a file-sharing website that offers earnings for downloads and inviting friends, but sometimes displays pornographic advertisements, knowing that the uploaded files are permissible? And what is the ruling on the money withdrawn from this website and invested in the stock market, considering that it is not remembered whether it was withdrawn before or after the appearance of the pornographic advertisements?
If the inquirer has not uploaded any file containing a Sharia violation, and his earnings from the website are a ju'ala (commission/stipend) for merely uploading the files, then his earnings are permissible (halal), and his capital for mudarabah (profit-sharing partnership) is permissible. However, it is advisable not to deal with the website in the future if it displays prohibited advertisements. It is permissible to engage in stock trading through the stock exchange, provided that Sharia violations are avoided.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/103848