Hello,
According to the context, there is no risk of contacting rabies. The spread is via saliva not through blood to blood contact.
Next Steps
make sure you cover the needle injury sites with bandage as intact skin is necessary for prevention.
Health Tips
You can get pre exposure rabies vaccine cover.