Hi
I have not heard of HIV passing with what you have described.
HIV does not live for long when it is out of the body. It also sounds like your finger did not come in contact with the fluid and that it was a small cut.
Giving someone a hand job is one of the safer ways to have sex.
It could be possible to pass an STI to your hands if the other person had something like herpes, syphilis or warts (HPV) on their genitals, but it is not common for them to pass this way. I have never seen or heard of them passing this way from what I have seen in the clinic or from the people I work with.
Have a look at our “Know your chances” web page, it provides information on your chances of getting or passing an STI depending on how you are having sex.
Please leave a comment to let us know if this answers your question or if you need more information.
Health Nurse
For other readers, please feel free to leave a comment, or let us know if this was helpful.