Based on what you’ve described, you do not require rabies vaccination.
Rabies does not spread through simply petting, cuddling, or touching a dog, nor does it spread because someone else touched the dog and then touched you. Casual contact is not considered an exposure.
Rabies post-exposure vaccination is recommended only if there has been:
* A bite that breaks the skin.
* A scratch that breaks the skin and could be contaminated with the animal’s saliva.
* Saliva or neural tissue from a potentially rabid animal coming into open wounds or the eyes, nose, or mouth (mucous membranes).
* Direct contact with bats in situations where a bite or scratch cannot be ruled out.
In your situation:
* No bite
* No scratch
* No direct saliva exposure to a wound or mucous membrane
* There is Only indirect contact through another person’s hands
This is not considered a rabies exposure, so rabies vaccination is not indicated.
Next Steps
Try not to stress. Rabies is understandably a frightening disease, but it is not transmitted by mere petting, cuddling, touching fur, or indirect contact like this as is in your case that has been described.
Washing hands after handling animals is always a good hygiene practice, but based on your description, there is no reason to worry about rabies or seek post-exposure vaccination.