Profit through YouTube Ads

Question
Is earning money through YouTube ads permissible? And if a person donates a part of this money, does it make it permissible?
Answer
I say, and with God's help: The profit from it is permissible as long as the advertisements do not involve prohibited things, and giving charity from a portion of the forbidden money does not make the remaining part permissible. And God knows best.
imam icon

Send your question to the smart assistant

If the previous answers are not appropriate, please send your question to the Mufti via