Islam holds that facilitating a haram act carries its own responsibility, even for someone who does not personally commit it. Regarding riba, the Prophet ﷺ cursed not only the one who consumes interest but also the one who pays it, the scribe who records the contract, and the witnesses to it, saying they are all equal in sin (Sahih Muslim 1598). This indicates that a role whose core function is generating or processing interest, such as a conventional bank loan officer structuring interest-bearing loans, directly facilitates riba, which the Quran also condemns severely (2:275). Similarly, since intoxicants are forbidden, scholars generally hold that serving, selling, or otherwise directly enabling people to consume alcohol, such as bartending, is not permissible. That said, jurists distinguish between roles that are integral to the haram activity and roles that are merely incidental, such as a security guard, cleaner, or delivery driver at a venue that happens to serve alcohol among other things — opinions vary on how much distance is sufficient, with some scholars applying stricter caution than others. Where a job's essential task is haram, a Muslim should seek alternative employment, even if it requires transition time, trusting that lawful provision (rizq) comes from Allah.
Q&A · Rulings
Is it permissible to work in a job connected to alcohol or interest, such as bartending or bank loan processing?
References
2:275Sahih Muslim 1598
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.