I think you just need to ask your friend if it's cool if you go out with her, and make it clear you won't (and really, don't) do it if he's not. He can't really get mad at you for being honest and considering his feelings.