What is the ruling on publishing useful and purposeful educational videos on YouTube, knowing that YouTube displays advertisements that may contain Sharia violations (such as music or alcohol) mandatorily, and the channel owner cannot stop them? And what if these videos are not intended for financial gain but rather to advertise a small project? Can the money generated from the advertisements be given as charity? And is it necessary to completely refrain from publishing to avoid sin?
There is no objection to publishing beneficial videos that are free from Sharia prohibitions. The sin of forbidden advertisements displayed without the publisher's choice falls upon the website owner and the viewer. As for profit from these advertisements, only those advertisements that are inherently forbidden are excluded. The questioner can estimate the proportion of such advertisements and take what is permissible, disposing of the illicit gains by spending them on public welfare or for the poor.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/185238