Al Salam Alaykom,
I tried looking online but got nothing specific about this case. I’m a software developer and I’m wondering if it’s okay to work in a company that has more than 5% non permissible income but not directly on those products. In this specific question I’m talking about Amazon, which when I read islamicly review on it that it has ~15% revenue from media content and that’s why it’s non permissible. So for example if I work in Amazon I’ll work on Alexa, Amazon web services but not on Prime (video content like Netflix).
Then if it’s halal to work there, big part of the compensation is given in restricted stock units yearly, but the stock does fail the halal criteria, is it okay to consider it part of my salary and just sell it right after vesting in this case? (I’m not sure whether with RSU I’m the owner when they are restricted or when they vest and what should I do exactly)