Q: Should I quit my job if they sell unlawful items or is it sufficient for me to give away the percentage earned from unlawful items?
الجواب حامدا ومصليا ومسلما ومنه الصدق والصواب
A: It is not permissible for you to sell unlawful items and any remuneration earned from such sale is also unlawful. Even if you donate the proportionate unlawful element to charity you still incur the sin of selling unlawful items. Thus, if you are unable to restrict yourself to the sale of lawful items you must leave your employment and seek lawful employment.