Business and Dealings

Earning from delivering food with Uber Eats etc.

Q:

1. Is earning from food delivery (Uber Eats, deliveroo, etc.) halaal, when most of the food delivered is not halaal?

2. What's the ruling on haraam earning in the past which a person didn't have knowledge at the time of earning but when he got to know its haraam he stopped that source of earning? Is the haraam earning in the past permissible to keep, even when he didn't have knowledge of it as haraam?

Fast food shop adding an extra item into one's meal

Q: I was at this fastfood shop last week and I bought a 3 chicken wings meal. I came home and saw that I was given 4. Normally I don’t worry about this since usually I assume this occurs if one of the wing pieces is small so they give another to compensate, however, because I’m dealing with religious OCD and doubts, I’m worried. I called them today and they confirmed that sometimes they do this for the reason I mentioned above. Can I assume that this is what occurred in my case instead of thinking that they made a mistake?

Developing an app

Q: I am a software developer and two weeks ago my friend asked that he has signed a deal with his client for an android app that we need to deliver within 30 days. My friend and his client both are very trusted although the client is a non-Muslim. So what happened is neither he saw the project details nor me and after two week now when I started working on the project I realized that it was a betting app. Me and my friend both are very stressed that should we take the money from this app or not? Since he has transfered the money into our bank account, what should we do?