Praise be to Allah.
Undoubtedly this is considered to be co-operating in sin and transgression. We advise you not to take these people to brothels, places or corruption and bars. You will find other people. This applies whether you are taking them from these places or to them. Whoever fears Allaah and keeps his duty towards Him (taqwa), Allaah will grant him a way out, so look for other passengers from other places. If it so happens that you take on these passengers and you did not know that this is where they were headed, then we do not say that the fare is haraam for you, because it is compensation for your efforts, or for the use of your car.
Shaykh ‘Abd-Allaah ibn Jibreen.
If you think that you are obliged to so something haraam in your work, then look for other work. We ask Allaah to make your provision halaal. May Allaah bless our Prophet Muhammad