I have a brother that buys food through apps like doordash or ubereats. Once the food arrives from the restaurant he refunds it through the app. The delivery company such as doordash or ubereats then pays the restaurant so they still get paid. Is eating this food unlawful for me and my brother. If it is will it affect supplication?
All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
As long as the food itself is Halal, then it is not prohibited for you to eat it just because it was bought from a particular company. As for your doubt about eating the food before the company delivers the money paid to the owner of the restaurant, there is no problem with that, as the company receives the amount on behalf of the owner of the restaurant that deals with it. Because the food is fully owned by contract and receiving of the money, therefore, it is not prohibited to eat it even if the money has not been paid to the owner yet.
Allah knows best.
You can search for fatwa through many choices